|
Previous: utility.library/CallHookPkt |
TOC: Table of Contents |
Index: All Documents |
Next: utility.library/CloneTagItems |
| Title: |
| CheckDate -- checks a ClockData structure for legal date. (V36) |
| Synopsis: |
| seconds = CheckDate(date); D0 A0 ULONG CheckDate(struct ClockData *); |
| Function: |
| Determines if the ClockData structure contains legal date information and returns the number of seconds from 01-Jan-1978 to that date, or 0 if the ClockData structure contains illegal data. |
| Parameters: |
| date - a filled-in ClockData structure |
| Results: |
| seconds - 0 if date is invalid, otherwise the number of seconds from 01-Jan-1978 to the date |
| Bugs: |
| The wday field of the ClockData structure is not checked. |
| Related topics: |
| Amiga2Date(), Date2Amiga() |