Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WEEK() function for FPW2.5
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00187077
Message ID:
00187162
Vues:
22
>>Does anyone have a function for FPW2.5 that would give the same results as the WEEK() function in VFP? I have another developer who is trying to save some development time.
>>
>>TIA
>>Brad
>
>Could you try something like this??? but obviously calculate based on whatever the real first of the current year is... Then based on which day of the week the year starts as an offset before division.
>
>lnWeek = 1+ (date() - ctod( "1/1/1999" )) / 7

I'll pass it over to him.
Thanks,
Brad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform