Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Day (date)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00537530
Message ID:
00537929
Vues:
14
>It looks as though the Day() function is returning the month! Perhaps you want:
>
>lcWasDate = set('date',1)
>set date to mdy
>d = padl(day(date),2,'0')
>set date to &lcWasDate
>
>
>
>>from date date = 03/21/2001
>>
>>
>> D = day (date)
>>
>>
>> It returns 3
>>
>> How can I return 03
>>
>>
>> Thanks
>>
>> Moisés

Hi Glenn,
I'll bet his date format is DD/MM/YYYY, not like us Americans.
Bill Armbrecht
VFP MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform