Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
17-MAY-2004 Date format
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00904674
Message ID:
00904854
Views:
10
I don't think you can do that directly with a baseclass control. You will have to create your own custom company_date control class.

Or try Sergey's sugestion about the datetime picker.

Einar

>Hi Einar,
>
>I want to capture the date in this format "17-MAY-2004" in a textbox.
>
>Is this possible?
>
>I tried using the Windows regional setting without any luck.
>
>
>>I am confused. You want 4 integers representing the month?
>>I think what you need to do is create a custom date textbox class for your specific purpose.
>>
>>Einar
>>
>>>Hi,
>>>
>>>The company I work for decided to choose a single date format for all company document and software.
>>>
>>>They came up with dd-mmm-yyyy format.
>>>
>>>Is there a way to capture a date in a textbox in this format.
>>>
>>>So far I've tried this approach without any success
>>>
>>>SET SYSFORMATS ON
>>>SET DATE SHORT
>>>SET MARK TO '-'
>>>
>>>When I use ? DATE() the output is OK but when I capture a date field I still get the dd-mm-yyyy format.
>>>
>>>
>>>Any solution is welcome.
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform