Hi,
I have a dtFirst is 2/28/2010 8:00:00 AM, dtSec 3/1/2010, and need to do :
3/1/2010 12:00:00 AM -2/28/2010 8:00:00 AM.
Tried
1. CDate(dtSec & " " & " 12:00:00 AM"), but still get 3/1/2010
2.DateDiff("h",2/28/2010 8:00:00 AM, 3/1/2010 12:00:00 AM), got an error: Comple error: Expected: list separator or )
Please help, thanks
I have a dtFirst is 2/28/2010 8:00:00 AM, dtSec 3/1/2010, and need to do :
3/1/2010 12:00:00 AM -2/28/2010 8:00:00 AM.
Tried
1. CDate(dtSec & " " & " 12:00:00 AM"), but still get 3/1/2010
2.DateDiff("h",2/28/2010 8:00:00 AM, 3/1/2010 12:00:00 AM), got an error: Comple error: Expected: list separator or )
Please help, thanks