now_unix()
On this page
now_unix()Read the system clock in whole Unix seconds.
Returns: Integer seconds since the Unix epoch.
now_unix()The system clock can be adjusted; do not confuse it with a monotonic frame timer.
date_time_now()#
date_time_now(utc = false)Read the current calendar date/time as a dictionary.
Returns: Dictionary including year, month, day, weekday, hour, minute, second and dst.
date_time_now(true)date_time_string()#
date_time_string(utc = false, use_space = true)Format the current system date/time.
Returns: Text.
date_time_string(false, true)unix_to_date_time()#
unix_to_date_time(timestamp, reserved?)Convert Unix seconds to a calendar dictionary.
Returns: Dictionary.
unix_to_date_time(0)The validator accepts a second argument, but this VM forwards only the timestamp to the conversion. Do not rely on that argument for a timezone change.
