Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Format
Message
From
27/10/2006 13:51:06
 
 
To
27/10/2006 05:55:09
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01164913
Message ID:
01165122
Views:
16
>Michel then you can always do
>
>dim str as string = "en-US" or "en-CA" or "pt-PT" or "es-ES" or getuserculturename function
>Dim userCulture as New CultureInfo(str, false)
>dim formatStr as string = "d" or "D" or getuserdatepreference function
>lcdate = datevar.ToString(formatStr, userCulture)
>
>so this will display base on the user country culture and on user date preference shortdate, long date, or even custom format.

This is good to know we can do it like that as well but that setting in the applications we support is not based on the country.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform