Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

How to convert 24 hour time to AM/PM time

$
0
0
Dim H As Integer
Dim M As Integer
Dim S As Integer

H = Hour(Now)
M = Minute(Now)
S = Second(Now)

How do I convert the number in H from it's 24 hour time to it's AM or PM time

Viewing all articles
Browse latest Browse all 21096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>