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

# syRtcDateToCount

Converts a date and time value into a count

### FORMAT

`

  void syRtcDateToCount( *date, *count )
  const SYS_RTC_DATE *date
  Uint32 *count

`

### PARAMETER

  `*date` | Pointer for the date and time to be converted
  `*count` | Pointer for storing count value after conversion

### RETURN

  None

### DESCRIPTION

  Converts a date and time value into a count. The count is a Uint32 value in which one count is equal to one second.

### NOTE

  The `dayofweek` and `ageofmoon` members in the parameter `*date` (SYS_RTC_DATE structure) are not referenced.

syRtcDateToCount

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999