|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Simple mask Edit for Hours:MinutesI would like to be able to force "HH:MM" format for a text field to show
hours and minutes in military format. User can enter 130 or 0130 and the text would display "01:30" Any suggestion is greatly appreciated. Bill Bill,
>I would like to be able to force "HH:MM" format for a text field to show That is in all cultures beside where is the English language used standard. >hours and minutes in military format. User can enter 130 or 0130 and the >text would display "01:30" > (Only in the English Language it is called military format). :-) However, there is in the iformatprovider a special parameter for that HH:mm.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp I hope this helps, Cor Cor;
this is very useful. Thanks so much. However, the Time is a character column in the database and not part of the date. Unless I can use DatePicker for both Date & Time, I still have to format a text field into HH:mm format. Thanks Bill Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23MfLOudHGHA.2628@TK2MSFTNGP15.phx.gbl... > Bill, > >>I would like to be able to force "HH:MM" format for a text field to show >>hours and minutes in military format. User can enter 130 or 0130 and the >>text would display "01:30" >> > > That is in all cultures beside where is the English language used > standard. (Only in the English Language it is called military format). > > :-) > > However, there is in the iformatprovider a special parameter for that > HH:mm. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationdatetimeformatinfoclasstopic.asp > > I hope this helps, > > Cor >
CHANGING DATA TYPE
Changed Date on PC, now project doesn't compile source code changes Get information about Dial Up connections? Compressing (zipping) files dispose the login form Job LastRunOutCome?? Save lines drawn in the picturebox as an lmage NetUserChangePassword Module not found?? How to close an application?? Parsing a string - please help |
|||||||||||||||||||||||