Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying dates within a grid
Message
De
01/04/2002 12:26:44
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00639315
Message ID:
00639515
Vues:
29
Hi Vlad:
>
>Short and Long date format is determined by Control Panel -> Regional Settings -> Date. You can easy remove displaying the day of the week from there and using System Settings option in VFP options dialog box, Reginal tab (that is appropriate to SET SYSFORMATS command). Let users define how they want see long dates.
>
This makes sense. My concern was only to provide the user with the right interpretation of the date.

>If you still need to see dates in formats you described FIXED, you should not use long date format at al and not depend on it, as you see, because user might change the format. Just use dat functions for this, for example:
>
>? cmonth(date()) + " " + padl(day(date()),2,"0") + ", " + ltrim(str(year(date())))
>

I will try this out. Thanks Vlad.

- Ravi

>
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform