##### Shinobi Library - Real-time Clock Function

# syRtcCompareDate

Compares date and time

### FORMAT

`

  Sint32 syRtcCompareDate( *date1, *date2 )
  const SYS_RTC_DATE *date1
  const SYS_RTC_DATE *date2

`

### PARAMETER

  `date1` | Pointer for date and time 1 to be compared
  `date2` | Pointer for date and time 2 to be compared

### RETURN

  -1: | "date1" is smaller |
  0: | equal |
  +1: | "date1" is larger |

### DESCRIPTION

  Compares two dates and times; the larger value is the more recent.

syRtcCompareDate

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999