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

How to get AM/PM from DatePicker

$
0
0
Hi

I have written this
MsgBox Format(DTPicker1.Value, "hh:mm:ss") , i am able to get time from Data Picker . How i can get AM/PM

Secondly if i have entered time like this 5:00:00 PM in message box it displays 17:00:00 PM

Thanks

Viewing all articles
Browse latest Browse all 21096

Trending Articles



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