suve

awful: function: dt-date

Declaration

float :dt-date

Summary

Returns a DateTime value representing the current date. Time part in returned value is set to 0 (00:00:00).

Example

# :dt-date example
:float-precision i12
:writeln s'DateTime:  ' :dt-now
:writeln s'Date part: ' :dt-date
:writeln s'Time part: ' :dt-time
# date+time may not always equal now due to CPU speed

wikistrona zmodyfikowana 2014/0601/2317