|
-
Dec 6th, 2000, 04:06 AM
#1
Thread Starter
Lively Member
Is there an easy way to convert a string which contains a time in 24h format to AM/PM format.
Note: I don't want to work with any type which is depending on the regional settings.
Thanks
-
Dec 6th, 2000, 04:56 AM
#2
Lively Member
Try this....
Try
format(datevariable, "Medium Time")
this should display your time in the 12 hour format with AM/PM indicator
H.
 Just trying to muddle through...
-
Dec 6th, 2000, 04:58 AM
#3
Fanatic Member
Try this ...
Code:
strTime = Format(strTime, "hh:mm:ss am/pm")
VB6 sp5, SQL Server 2000, C#
There are no stupid questions. Only stupid people. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|