Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MONTH(DATE())
Message
De
07/09/1997 03:40:46
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00048509
Message ID:
00048869
Vues:
24
> The expression that will get all records for the current month would be; > > MONTH(Date_field) = MONTH(DATE()) I've done my two hours debugging for a thing like that. It includes all Septemb ers regardless of the year, and in the testing phase you usually have only one year 's data, or less. I prefer setting two vars like this, just to make sure:
        StartDate_ld=date()-day(date())+1
        EndDate_ld=GoMonth(StartDate_ld,1)-1
        select .... where date_field between StartDate_ld and EndDate_ld
.Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform