Valhalla Legends Forums Archive | Visual Basic Programming | Question about time formats.

AuthorMessageTime
Dyndrilliac
I've been using

[code]"[" & Format(Time, "HH:mm:ss") & "] "[/code]

For my time stamps, but this is 24 hour style, I searched msdn on how to make it 12 but it wasnt much help, the only thing I could find was some mumbo jumbo about "medium time". Can someone show me how a 12 hour time stamp looks?
March 24, 2004, 8:08 PM
Grok
[quote author=GoSuGaMING link=board=31;threadid=5970;start=0#msg51476 date=1080159253]
if you dont want it a 24 hour time stamp just make it easy on ur self and make it a simple way... and do something easy like

that will auto add the PM or AM also
[/quote]

*SNIP* your useless code submission. It had nothing to do with AM PM formatting of time. Copying code you cannot even READ and submitting it as a solution for someone is another waste of our time. Everyone is pretty damned tired of your posts.

Dyndrilliac:
[code]Format(Now, "HH:MM:SS AMPM")[/code]
March 24, 2004, 8:18 PM
Dyndrilliac
Thanks Grok, worked like a charm.
March 24, 2004, 8:53 PM

Search