AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED} what was the day of week?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Sat Jan 19, 2008 12:38 am    Post subject: [SOLVED} what was the day of week? Reply with quote

How could i know what was the day of week?

Example:
wday(17051986)

so, wday should return Saturday


Last edited by rockit0 on Sat Jan 19, 2008 1:31 am; edited 1 time in total
Back to top
View user's profile Send private message
Conquer



Joined: 27 Jun 2006
Posts: 385
Location: Canada

PostPosted: Sat Jan 19, 2008 1:02 am    Post subject: Reply with quote

The built in variable A_DDDD

Code:
Msgbox % A_DDDD

_________________
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Sat Jan 19, 2008 1:04 am    Post subject: Re: what was the day of week? Reply with quote

rockit0 wrote:
wday(17051986)
What does that number represent? If you know what it's supposed to be, you can use EnvAdd then FormatTime.
_________________

Back to top
View user's profile Send private message Visit poster's website
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Sat Jan 19, 2008 1:06 am    Post subject: Reply with quote

wday(ddmmyyyy)
Back to top
View user's profile Send private message
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Sat Jan 19, 2008 1:15 am    Post subject: Reply with quote

Conquer:

Thanks

A_DDDD will return the week day for today. But for 10/01/1999 for example ?
Back to top
View user's profile Send private message
Conquer



Joined: 27 Jun 2006
Posts: 385
Location: Canada

PostPosted: Sat Jan 19, 2008 1:28 am    Post subject: Reply with quote

Sorry.. misread your post. Tell me if this helps at all:

Code:
FormatTime, OutputVar, 19991001,dddd
Msgbox % Outputvar

_________________
Back to top
View user's profile Send private message
rockit0



Joined: 06 Oct 2006
Posts: 22

PostPosted: Sat Jan 19, 2008 1:30 am    Post subject: Reply with quote

Solved

Thank's
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group