> What's the function call that gets the current time?

{
  Char                  time[20];
  UInt32                secs;
  DateTimeType          date;
  SystemPreferencesType sysPrefs;
 
  // whats the time?
  secs = TimGetSeconds();
  TimSecondsToDateTime(secs, &date);

  // format to localized preference
  PrefGetPreferences(&sysPrefs);
  TimeToAscii(date.hour, date.minute, sysPrefs.timeFormat, time);
}

  bingo :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to