| || |
I have written code for to find difference between 2 dates
strStartTime = "4/24/2009 11:11:08 AM"
strEndTime = "4/24/2009 12:11:08 PM"
strhours = DateDiff("h",strStartTime,strEndTime)
But it not giving right result. Anyone can help me in this.
It is returning correct value only.
As per you logic it should return 1. when i executed it returns 1.
Let us know what exactly you are looking for.