Hello , need some help on following code:
HH = DateTime.DateDiff("h", "01/01/2008 12:30:00", "01/01/2008 15:00:00")
MM = DateTime.DateDiff("n", "01/01/2008 12:30:00", "01/01/2008 15:00:00")
SS = DateTime.DateDiff("s", "01/01/2008 12:30:00", "01/01/2008 15:00:00")
MsgBox HH & ":" & MM Mod 60 & ":" & SS Mod 60
the result shows : 3:30:0
im expecting result like 2:30:0
ur advice is appreciated.