|
OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
Functions | |
| getMonthDays (month, year) | |
| get the number of day for a month depending of the year | |
| isDateString (date) | |
| test if a date string is valid | |
| getSecondsFromDateTime (day, month, year, hours, minutes, seconds) | |
| get the number of seconds from a complete date time | |
| getDateTimeFromString (date) | |
| get the decomposed date time from a string date | |
| getCurrentDateTime (mode) | |
| get the current date time | |
| getCurrentTime (mode) | |
| get the current time | |
Date tools
| getMonthDays | ( | month | , |
| year | |||
| ) |
get the number of day for a month depending of the year
Prototype: fun [I I] I
| I | : the month |
| I | : the year |
| isDateString | ( | date | ) |
test if a date string is valid
Prototype: fun [S] I
| S | : the date in string format ("Tue Jan 21 11:24:53 1997") |
| getSecondsFromDateTime | ( | day | , |
| month | , | ||
| year | , | ||
| hours | , | ||
| minutes | , | ||
| seconds | |||
| ) |
get the number of seconds from a complete date time
Prototype: fun [I I I I I I] I
| I | : the day |
| I | : the month |
| I | : the year |
| I | : the hours |
| I | : the minutes |
| I | : the seconds |
| getDateTimeFromString | ( | date | ) |
get the decomposed date time from a string date
Prototype: fun [S] [I I I I I I]
| S | : the date in string format ("Tue Jan 21 11:24:53 1997") |
| getCurrentDateTime | ( | mode | ) |
get the current date time
Prototype: fun [I] [I I I I I I]
| I | : 0 or nil for local time, 1 for GMT |
| getCurrentTime | ( | mode | ) |
get the current time
Prototype: fun [I] [I I I]
| I | : 0 or nil for local time, 1 for GMT |