Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to adjust time

Status
Not open for further replies.

cardimom

MIS
Sep 18, 2001
34
US
The field I need to use shows the time as 6 hours later then the actual time. How do I change this to my current time which is that field - 6 hours. The field is lastbackuptime. I tried lastbackuptime- 6 but that didnt do anything

Thanks
Cardimom
 
I don't know if the follow are available for versions earlier than CR8.

If it's a DateTime field - use this formula:
DateAdd("h",-6,{lastbackuptime})

If it's a Time field - use this formula:
TimeSerial (hour({lastbackuptime})-6, minute({lastbackuptime}), second({lastbackuptime})) Mike

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top