The Date API is still preliminary and requires importing the
Date object from the host (as
Returns the current UTC timestamp in milliseconds
Returns the UTC timestamp in milliseconds of the specified date.
Constructs a new date object from an UTC timestamp in milliseconds.
Gets the UTC timestamp of this date in milliseconds.
Sets the UTC timestamp of this date in milliseconds and returns the timestamp.