long osdTimeGet(OSD_Time *time)osdTimeGet() returns the structure time
with the current date and time. The members of OSD_Time are:
| long year | Specifies the year in absolute terms (years since 0 A.D.) |
| char month | Specifies the month of the year (1..12) |
| char day | Specifies the day of the month (1..31) |
| char hour | Specifies the hour (0..23) |
| char minute | Specifies the minute (0..59) |
| char second | Specifies the second (0..61 for leap seconds) |
| long millisecond | Specifies the millisecond (0..999) |
Returns TRUE on success and FALSE on failure.
| time | Pointer to a time structure |
| OSD_JANUARY | 1 |
| OSD_JAN | 1 |
| OSD_FEBRUARY | 2 |
| OSD_FEB | 2 |
| OSD_MARCH | 3 |
| OSD_MAR | 3 |
| OSD_APRIL | 4 |
| OSD_APR | 4 |
| OSD_MAY | 5 |
| OSD_JUNE | 6 |
| OSD_JUN | 6 |
| OSD_JULY | 7 |
| OSD_JUL | 7 |
| OSD_AUGUST | 8 |
| OSD_AUG | 8 |
| OSD_SEPTEMBER | 9 |
| OSD_SEP | 9 |
| OSD_OCTOBER | 10 |
| OSD_OCT | 10 |
| OSD_NOVEMBER | 11 |
| OSD_NOV | 11 |
| OSD_DECEMBER | 12 |
| OSD_DEC | 12 |