gsc123
Programmer
- Jan 24, 2008
- 197
I'm tring to work out the date left and present it in a realtime format ie:
Day/Mnth/Year - 21:15:58
Got any pointers on how I should do this please
seconds=DateDiff("s",pStartDate,pEndDate)
minutes=DateDiff("s",pStartDate,pEndDate)
hours=DateDiff("h",pStartDate,pEndDate)
days=DateDiff("d",pStartDate,pEndDate)
months=DateDiff("m",pStartDate,pEndDate)
years=DateDiff("yyyy",pStartDate,pEndDate)
strText = days & ":" & months & ":" & years & ":" & hours & ":" & minutes & ":" & seconds
Day/Mnth/Year - 21:15:58
Got any pointers on how I should do this please
seconds=DateDiff("s",pStartDate,pEndDate)
minutes=DateDiff("s",pStartDate,pEndDate)
hours=DateDiff("h",pStartDate,pEndDate)
days=DateDiff("d",pStartDate,pEndDate)
months=DateDiff("m",pStartDate,pEndDate)
years=DateDiff("yyyy",pStartDate,pEndDate)
strText = days & ":" & months & ":" & years & ":" & hours & ":" & minutes & ":" & seconds