Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOMONTH(DATE(),-(YEAR(DATE())-1753)*12)
Message
De
19/03/2000 16:53:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00347376
Message ID:
00347649
Vues:
25
>>I also get an empty date if I issue
>>GOMONTH( 12/31/00, -2976 )
>>This would take it into 1952.
>
>No, it will take it to 1652.
Actually
GoMonth( {12/31/00}, -2975 ) && returns {01/31/1753}
and
GoMonth( {12/31/00}, -2976 ) && returns empty date s/b {12/31/52}

But
GoMonth( {12/31/53}, -1 ) && returns {12/31/52}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform