Remoto - VFS
|
The remoto date object, which has useful features not in the default javascript Date object. More...
#include "remoto!stdlib:js/include/date.js"
Public Member Functions | |
date (year, month, day, hours, minutes, seconds, milliseconds) | |
Construct a date object. More... | |
timeToNextMinute | |
Calculate the time remaining until the next wallclock minute. More... | |
Getters & Setters | |
getter | id |
returns the number of milliseconds since midnight January 1, 1970 UTC More... | |
getter | date |
a getter DOCME More... | |
The remoto date object, which has useful features not in the default javascript Date object.
This builds on the basic javascript Date object to add useful math operations and printing methods.
date | ( | year, | |
month, | |||
day, | |||
hours, | |||
minutes, | |||
seconds, | |||
milliseconds | |||
) |
Construct a date object.
year | The year |
month | The month |
day | The day of the month |
hours | The hour |
minutes | The minute |
seconds | The seconds |
milliseconds | The milliseconds |
Each value will default to 0 (or 1 as needed) if undefined.
getter date |
a getter DOCME
getter id |
returns the number of milliseconds since midnight January 1, 1970 UTC
timeToNextMinute |
Calculate the time remaining until the next wallclock minute.