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

Calculate hours between 2 date field

Status
Not open for further replies.

sasa888

Programmer
Oct 15, 2001
131
US
Hi all, is it possible to calculate the hours between 2 date/time field?
 
yes, but i don't know excacly how,
try something like this:

var_1 = date_last - date_first
hours = var_1.getHours()

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top