indyng
asked on
How can I get the format dd:mm:yy hh:nn AMPM from dd:mm:yy hh:nn:ss AMPM?
Hi Experts,
How can I get the format dd:mm:yy hh:nn AMPM from dd:mm:yy hh:nn:ss AMPM?
Basically I want the seconds to drop out.
Thanks
How can I get the format dd:mm:yy hh:nn AMPM from dd:mm:yy hh:nn:ss AMPM?
Basically I want the seconds to drop out.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dim TimePart
Dim TimeSplit
Time = FormatDateTime(Now(), 3)
TimePart = split(Time," ")
TimeSplit = split(TimePart(0),":")
Response.write date() & " " & TimeSplit(0) & ":" & TimeSplit(1) & " " & TimePart(1)