Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-U.S. format datetime in View
Message
From
09/05/2003 12:54:01
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
To
09/05/2003 12:52:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00786835
Message ID:
00786844
Views:
21
>>I'm working on a system for use in Thailand, where users mainly use date formats of dd/mm/yyyy. I want the user to determine the format from the system setting. I'm having a problem w/datetime values in a view. The view field is something like:
>>
>>IIF( lContact, TTOC( MadeOnDate ), SPACE( 22 ) ) AS cMadeOn
>>
>>The TTOC( MadeOnDate ) in the View is returning the date format in US format. I'm thinking that I have to write my own UDF to deal with this. Does anyone have any other ideas?

>
>
>Doesn't SET DATE BRITISH or DMY() help?

But if I want to let the user decide on the format (via system settings), wouldn't that force the format to British?

I want the user to decide how to see the dates, and have it mostly working, except for the view....J
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform