Function Reference


_Now

Returns the current Date and Time in PC's format

#include <Date.au3>
_Now ( )

Return Value

Returns Current Date and Time in PC's format.

Remarks

If Date format isn't found in the registry it returns the date in the mm/dd/yyyy format.
If Time format isn't found in the registry it returns the time in the hh:mm:ss format.

Related

_NowDate, _NowTime

Example

#include <Date.au3>
#include <MsgBoxConstants.au3>

MsgBox($MB_SYSTEMMODAL, "", "Todays date/Time: " & _Now())