Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOMONTH(DATE(),-(YEAR(DATE())-1753)*12)
Message
 
À
17/03/2000 21:58:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00347376
Message ID:
00347422
Vues:
18
>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.
It looks like for everything that goes beyond Jan 01, 1753 gomonth returns an empty date.
However, GOMONTH( date(), -(year(date())-1753)*12)-800 returns the right date...
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform