Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Only Am records to print
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00881148
Message ID:
00881163
Views:
40
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform