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:
00904746
Views:
13
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.
Luc Nadeau
lnadeau@neova.ca

"the theory, it is when all is known and that nothing works. The practice, it is when all works and that nobody knows why." - Albert Einstein (Nobel of physique 1921)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform