Function: Time
Function: Time

Function: Time

Time ( )

Returns the system time in milliseconds since the UNIX Epoch.

Parameters

No Parameters

Returns

VALUE(INTEGER) The current system time.

What It Does

This function returns the current system time as milliseconds since the UNIX Epoch, which is January 1, 1970 12:00:00.000 AM GMT+00:00.

Example

Time Example


world
{
	start()
	{
		textln("The current UNIX time is " + time() + ".");
		quit;
	}
}

See Also

TimeFormat() — Converts the time to a human-readable string.

Additional Technical Notes

The number returned is technically the UTC version of your current system time, which is unaffected by the user's locale.

×

Modal Header