Returns the current Date in format YYYY/MM/DD
#include <Date.au3> _NowCalcDate ( )
_NowDate, _NowTime
#include <Date.au3> Local $iMsg = "Test record" FileWriteLine(@TempDir & "\Pgm.log", _NowCalcDate() & " :" & $iMsg)