Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Week
Message
From
27/11/2002 21:48:39
 
 
To
27/11/2002 13:01:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Week
Miscellaneous
Thread ID:
00727662
Message ID:
00727845
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform