Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many Sundays in a month?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00487391
Message ID:
00487687
Vues:
11
That's exactly what I did! :(((
It's interesting though, I believe if you ask people what the first day of the week is, the answer is Monday, but on the calendar it is Sunday - a trap for people that are not awake?


>OK.. I guess I need to rename my function. It was late at work and I was blind.. So I'll call it:
>
>CountSaturdays() instead.. Or maybe: ErikIsNotAwake
>
> My mistake popped into my head on my way to bed. I'm still used to having Sundays as last day on a week, instead of Saturday. I guess I'm still not "an america" :) So I read the right "S" on the time clock as Sunday.. *ZZZZZZZZZZzzzzzzzzzzz*
>
> Sorry about that.
>
>
Hi Erik,
>>Unfortunately that returns a 5 for this month, when, in fact, there are only 4 sundays.
>

>
>*needs sleep*
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform