datime/5

datime(datime(- Year, - Month, - DayOfTheMonth, - Hour, - Minute, - Second)*

The datime//11 procedure returns the current date and time, with information on Year, Month, DayOfTheMonth, Hour, Minute, and Second. The Hour is returned on local time. This function uses the WIN32 GetLocalTime function or the Unix localtime function.


 ?- datime(X).
 4
 X = datime(2001,5,28,15,29,46) ?