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:
00881153
Views:
30
>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

Try
RIGHT(CONVERT( varchar(32), DateTimeField,109),2) = 'AM'
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform