LATEST UPDATES
ShareHolder Finder v0.9.3 is now released!!! Check Product Page for more details.
✉ info@automationdevelopers.com

ITS ALL ABOUT AUTOMATION

Sunday, 29 May 2016

AutoIt - Get Current Date


Author Post Date Sunday, 29 May 2016
We can get the current date using the combination of different Date macros - @MDAY@MON and @YEAR.

Example:

#include <MsgBoxConstants.au3>

;Display current date in dd-mm-yyyy format
MsgBox($MB_SYSTEMMODAL, "Date", @MDAY & "-" & @MON & "-" & @YEAR)

Related Posts




Interesting? Share and Let Others Know.

Post a Comment