Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End of the Month Calculation
Message
 
À
28/12/2000 09:26:00
Jacqueline Burns
National Commerce Financial Corporation
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00457305
Message ID:
00457312
Vues:
20
>How do I calculate the end of the Month for any given year and month?

*------------------------------------------------
FUNCTION _EOM(dFecha)
*------------------------------------------------
* Return EndOfMonth
* USO: _EOM(DATE())
* RETURN: Date
*------------------------------------------------
  LOCAL ld 
  ld = GOMONTH(dFecha,1)
  RETURN ld - day(ld)
ENDFUNC
*------------------------------------------------
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform