Converting text to time

latex88

Registered User.
Local time
Today, 13:04
Joined
Jul 10, 2003
Messages
198
How to convert this string of text that is formatted yyyymmddhhnnss to hh:nn?

I can do the mid function to extract the hhnn out, but have a hard time with the rest.
 
Thanks for pointing me to the right direction.

I ended up using below. The function returns something like 12:12:44 PM.
=TimeSerial(Mid([TimeStamp],9,2),Mid([TimeStamp],11,2),Mid([TimeStamp],13,2))

I wish I don't have to show the seconds, but I believe the function requires it.
 

Users who are viewing this thread

Back
Top Bottom