Date difference in minutes
Posted
by zurna
on Stack Overflow
See other posts from Stack Overflow
or by zurna
Published on 2010-04-13T22:44:56Z
Indexed on
2010/04/13
22:53 UTC
Read the original article
Hit count: 250
asp-classic
I have DateFirstStarted and DateEnded fields in the database.
Date values are recorded as
DateFirstStarted
04/13/2010 07:00:00.000 PM
DateEnded
04/13/2010 09:00:00.000 PM
How do I print minute difference between two dates. I tried the following code but it returned something like 999343
Clock = DateDiff("m", objLiveCommentary("DateFirstStarted"), objLiveCommentary("DateEnded"))
© Stack Overflow or respective owner