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!

Date diff

Status
Not open for further replies.

Brianfree

Programmer
Feb 6, 2008
220
GB
Hi, if i have a date in the following format...

2009-01-27 13:59:37

how can i calculate the difference between the current date and this date in days?

many thanks

brian
 
Hi thanks for the fast reply!!! I have got it working but i get results like ...

0.048333333333333

Can this be converted to full days?

many thanks...

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top