Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Edit Mask Time Format

Status
Not open for further replies.

2good2btru

Programmer
May 1, 2001
17
AE
hi
I am trying to display time in the format h:mm tt ie, 8.30 PM.... 12.00 AM etc...
I tried giving the timemask as h:mm tt , but still it isnt working......
Any suggestions.....

One workaround is changing the mask to stringmask! dynamically and set it appropriately... the string formatting 'h:mm am/pm' works fine, but then i am giving a spin control to the user by which he can change the time, so each time i have to toggle between timemask! and stringmask!....... any other way.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top