Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Week function
Message
 
À
27/06/2000 01:27:22
Sudhir Arora
Userease Software Pvt. Ltd.
New Delhi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00384894
Message ID:
00384898
Vues:
35
How about:
? date(lnYear,1,1) + (lnWeekNo - 1)*7 + (1-dow(date(lnYear,1,1)))
Convoluted enough? <g>

Cheers,

Andrew

>We have a week() function which returns week number from a date variable.
>
>How can one arrive at a date from a week number ? Say - The starting date of week 23 of year 2000.


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform