Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gomonth() giving bad date
Message
De
06/06/2006 14:37:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Gomonth() giving bad date
Divers
Thread ID:
01127446
Message ID:
01127446
Vues:
57
Hi All,

I have a table that holds a date, I have to fill that date from a text file which I put into a variable before hitting this code.
loData.dLastBillDate = ctod("04/30/2006")

replace datefrom WITH GOMONTH(loData.dLastBillDate, -1) + 1
this gives me a blank datefrom field, because GOMONTH() evaluates to {03/31/2006}, it should come up with {04/01/2006}.

I need this to work in all cases, not just 11 out of 12. Can anyone help me?

TIA
Beth
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform