Time [message #318351] |
Tue, 06 May 2008 09:40 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
Hi guyz,
I have systemtime in my form i want to add user login time like
if the user logon to the application it will start the system time the logon time Example ( Logon since ) and when user exit the application it will appear the message and count the time since logon to exit.
how to display?
Regards
|
|
|
Re: Time [message #318376 is a reply to message #318351] |
Tue, 06 May 2008 11:56 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Subtract these values; the result will be number of DAYS (so you'll have to compute hours/minutes (unless number of days is an acceptable value).
By the way, how do you plan to store time values? Global variables? A table column? Something different?
What will you do upon abnormal application termination (loss of power, "blue screen of death" (MS Windows), killed session due to various reasons, ...)?
|
|
|