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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateDiff

Status
Not open for further replies.

Yarg

IS-IT--Management
Jun 23, 2001
2
US
I am trying to create a form which determines how long a machine has been in a specific state (UP, Down, etc.)

I get a response back from the DateDiff function but it returns a Julian Date and I need it in hours, how do I convert?
 
Hi, you might try something like this : =DateDiff("h",[txtup],[txtdown])

where the "h" is the interval in hours, [txtup] is hours machine is up and [txtdown] is the hours machine is down.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top