Type time:Date

A Date represents a moment in time. It is represented internally as the number of milliseconds since midnight, January 1 1970 GMT.
Constructors:
time:Date()
Create a time:Date representing the current moment in time.
time:Date(Number milliseconds)
time:Date(Node date)
Functions:
after(time:Date other)
Returns: True if this time:Date represents a time after that of other.
after(Node other)
Returns: True if this time:Date represents a time after that of other.
Same as: time:Date.after(time:Date($other))
before(time:Date other)
Returns: True if this time:Date represents a time before that of other.
before(Node other)
Returns: True if this time:Date represents a time before that of other.
Same as: time:Date.before(time:Date($other))
difference(time:Date other)
Returns: The time difference (as a time:Time object) between this time:Date and other.
equals(time:Date other)
format()
Output this time:Date using the default date and time formatting options.
format(Node format)
Output this time:Date using the specified date and time formatting options.
Same as: time:Format($format).format($this)
milliseconds()
Get this time as milliseconds since the start of 1970.
nodes()
Get an XML representation of this time:Date.
doc:bugdoc:bug
number()
Get this time as milliseconds since the start of 1970.
Same as: $this.milliseconds()
time()
Returns: Return the time-of-day portion of this time:Date as a time:Time