Time Storing [message #406053] |
Mon, 01 June 2009 23:56 |
snsiddiqui
Messages: 172 Registered: December 2008
|
Senior Member |
|
|
Dear All
I want to save machine starting and stoping time, after that system should calculate the difference between starting and stoping time and assign to third field as a total running hours.
Fields input and output formats should be HH24:MI.
|
|
|
|
Re: Time Storing [message #406071 is a reply to message #406059] |
Tue, 02 June 2009 00:59 |
snsiddiqui
Messages: 172 Registered: December 2008
|
Senior Member |
|
|
Yes, I am using date datatype and my starting and stopping fields are saving data perfectly.
Actually my real scenario is,
We have different machines in floor; operator takes some time for machine setting, color matching then start production so I want to record all these time in system. These time inputs are FROM and TO basis like.
FROM TO
----- -----
SETTING TIME 07:00 07:30 text item (user input)
COLOR MATCHING 07:31 11:44 DISPLAY ITME
PRODUCTION TIME 11:45 16:30 text item (user input)
My requirement: When user input time in TO field of SETTING TIME then system should add one minute into TO field of SETTING TIME and assign to FROM field of COLOR MATCHING after that when user input time in FROM field of PRODUCTION TIME then system should less one minute and assign to TO field of COLOR MATCHING.
[Updated on: Tue, 02 June 2009 01:01] Report message to a moderator
|
|
|
|
|