Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending Only Am records to print
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00881148
Message ID:
00881163
Vues:
41
This message has been marked as the solution to the initial question of the thread.
>Does anyone know an easy way to tell if a DateTime value is Am/PM. I need the option when using the report form to print command to limit the records sent to print for either AM or PM based on user choice.
>
>Thanks
>Kirk

The hours function always uses the 24hour clock. so
HOURS(DATETIME()) < 12 && AM
HOURS(DATETIME()) >= 12 && PM
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform