Jump to content
Sign in to follow this  
exodius

Getting _DateDayOfWeek to work

Recommended Posts

exodius

Has anyone else used this extensively? I included the date.au3 library, but it's still not returning anything for me.

Share this post


Link to post
Share on other sites
Jos

Has anyone else used this extensively?  I included the date.au3 library, but it's still not returning anything for me.

<{POST_SNAPBACK}>

Included example in the helpfile works fine, so not sure what you are looking for ??

#include <Date.au3>

; Retrieve the long name
$sLongDayName = _DateDayOfWeek( @WDAY )

; Retrieve the abbreviated name
$sShortDayName = _DateDayOfWeek( @WDAY, 1 )

MsgBox( 4096, "Day of Week", "Today is: " & $sLongDayName & " (" & $sShortDayName & ")" )

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
exodius

Has anyone else used this extensively?  I included the date.au3 library, but it's still not returning anything for me.

<{POST_SNAPBACK}>

After upgrading to 3.1 and looking at the helpfile again, I can see what you're talking about :lmao: 3.0.102 didn't have that good of documentation for it. Thanx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.