Connecting Tech Pros Worldwide Forums | Help | Site Map

Time Format?

smartchap's Avatar
Familiar Sight
 
Join Date: Dec 2007
Location: Lucknow, India
Posts: 194
#1: Sep 29 '09
I want to get System Time format (Is it hh:mm:ss, hh:mm:ss AM/PM, h:mm:ss or so?) and save it in a variable. Then set it to 24 hours format. Then set it to 12 hour format (i.e. AM or PM). After doing some calculations want to reset to original format. How to accomplish it in VB6?

Dököll's Avatar
Moderator
 
Join Date: Nov 2006
Location: Upstate NY - US
Posts: 2,268
#2: 2 Weeks Ago

re: Time Format?


Heiya! I suspect you'll find an idea here, but you may have to dig deep. See if you can find anything below to get you started:

http://www.vb6.us/tutorials/date-tim...s-visual-basic
Reply