| View previous topic :: View next topic |
| Author |
Message |
rockit0
Joined: 06 Oct 2006 Posts: 22
|
Posted: Sat Jan 19, 2008 12:38 am Post subject: [SOLVED} what was the day of week? |
|
|
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 |
|
 |
Conquer
Joined: 27 Jun 2006 Posts: 385 Location: Canada
|
Posted: Sat Jan 19, 2008 1:02 am Post subject: |
|
|
The built in variable A_DDDD
_________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Sat Jan 19, 2008 1:04 am Post subject: Re: what was the day of week? |
|
|
| 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 |
|
 |
rockit0
Joined: 06 Oct 2006 Posts: 22
|
Posted: Sat Jan 19, 2008 1:06 am Post subject: |
|
|
| wday(ddmmyyyy) |
|
| Back to top |
|
 |
rockit0
Joined: 06 Oct 2006 Posts: 22
|
Posted: Sat Jan 19, 2008 1:15 am Post subject: |
|
|
Conquer:
Thanks
A_DDDD will return the week day for today. But for 10/01/1999 for example ? |
|
| Back to top |
|
 |
Conquer
Joined: 27 Jun 2006 Posts: 385 Location: Canada
|
Posted: Sat Jan 19, 2008 1:28 am Post subject: |
|
|
Sorry.. misread your post. Tell me if this helps at all:
| Code: | FormatTime, OutputVar, 19991001,dddd
Msgbox % Outputvar |
_________________
 |
|
| Back to top |
|
 |
rockit0
Joined: 06 Oct 2006 Posts: 22
|
Posted: Sat Jan 19, 2008 1:30 am Post subject: |
|
|
Solved
Thank's |
|
| Back to top |
|
 |
|