AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: now

now(0) returns a structure with the current date and time. The structure contains the members year, month, day, weekOfYear, dayOfYear, dayOfWeek, hour, minute, second, and millisecond.

Example:

now(0)

year: 2010
month: 6
day: 23
weekOfYear: 25
dayOfYear: 174
dayOfWeek: 3
hour: 14
minute: 7
second: 30
millisecond: 534