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

Count down to a specific date / time

Status
Not open for further replies.

PetitPal

Programmer
May 2, 2001
243
GB
Dear all,

Just a quick question - does anyone know if there is an EASY way of calculating the hours / mins / secs left from the current date / time until a given date / time in the future. I'm working on some code at the moment but just thought I would check in case you can do it in two lines instead of the large page that I currently have!

Thanks in advance,

=)

PetitPal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top