Hi
I have created timeclock form.It had 4 fields.
punchindate,punchintime,punchoutdate,punchouttime.
I want the difference between punchindate,time and
punchoutdate,time.
Anybody gives me an idea what kind of formula I have to
use to get the duration of time.
I used many formulas like datevalue, datadiff .
But they didn't work .
I am giving an example of the formula that I have used.
'****************************************************
DateTimeValue ({Timeclock.punchindate}, {Timeclock.punchintime})-DateTimeValue ({Timeclock.punchoutdate},{Timeclock.punchouttime} )
'****************************************************
Any help will be highly appreciated.
Thanks in advance.
I have created timeclock form.It had 4 fields.
punchindate,punchintime,punchoutdate,punchouttime.
I want the difference between punchindate,time and
punchoutdate,time.
Anybody gives me an idea what kind of formula I have to
use to get the duration of time.
I used many formulas like datevalue, datadiff .
But they didn't work .
I am giving an example of the formula that I have used.
'****************************************************
DateTimeValue ({Timeclock.punchindate}, {Timeclock.punchintime})-DateTimeValue ({Timeclock.punchoutdate},{Timeclock.punchouttime} )
'****************************************************
Any help will be highly appreciated.
Thanks in advance.