Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Week
Message
De
27/11/2002 21:48:39
 
 
À
27/11/2002 13:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Week
Divers
Thread ID:
00727662
Message ID:
00727845
Vues:
8
Você poderia tentar algo tipo assim:
FUNCTION descobreODia(tnDaquiAQuantasSemanas AS Integer)
    LOCAL ldData AS Date
    LOCAL lnHoje AS Number

    m.ldData = DATE()
    m.lnHoje = DOW(DATE())
    
    RETURN ldData + (7*tnDaquiAQuantasSemanas) - (lnHoje - 1)
    
ENDFUNC
Espero poder ter ajudado...
Pablo Márcio de Oliveira

Inside the scream is silent, inside it must remain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform