Hi:
This is the code that I have in my ASP page.
value=<%= formatdatetime(now,vbshorttime) %> name="timestarted" >
This displays military time as 13:12 and my customer puts in a start and end time and I get the number of minutesfor the task. My customer wants the format of military time to be without the colon (ex. 1312). I've tried changing it to a number but it has to be handled as a date since I'm use DateDiff. I've also tried to use the DatePart command but there must be a simple way to do it.
Can anyone help???
Thanks
This is the code that I have in my ASP page.
value=<%= formatdatetime(now,vbshorttime) %> name="timestarted" >
This displays military time as 13:12 and my customer puts in a start and end time and I get the number of minutesfor the task. My customer wants the format of military time to be without the colon (ex. 1312). I've tried changing it to a number but it has to be handled as a date since I'm use DateDiff. I've also tried to use the DatePart command but there must be a simple way to do it.
Can anyone help???
Thanks