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

Reference: encodeDateTime

encodeDateTime(year, month, day, hour, minute, second) returns the date and time structure corresponding to the given year, month, day, hour, minute, and second.

Example:

encodeDateTime(2010, 06, 19, 16, 00, 00)

year: 2010
month: 6
day: 19
weekOfYear: 24
dayOfYear: 170
dayOfWeek: 6
hour: 16
minute: 0
second: 0
millisecond: 0