Hello All, I�m trying to construct a palm application that would flip auto-off feature ON/OFF state.
When the user disables the auto-off feature, the timer in the menu should give the duration it has been active. I desire to show the active time in �Day-Hours-Minutes-Seconds� format. Active time shouldn�t restart even if the application is exited. Steps: 1) When the user disables the auto-off feature, the current date & time can be stored in the Application Preference database using �PrefSetAppPreferences�. 2) When the user wants to see the duration of the active time, we would calculate the difference between the current time & the value stored in the Application Preference DB. Is there any function to find the difference between two dates or time? How to find the active time after an event has occurred in the application? It would be very helpful if you can suggest me any other better solution. Thanks, jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
