Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6152 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

My data input file has time in 24 hour notation. I can format the "time" field such that it appears in 12 hour notation as a stand-alone. However, when I try to combine this field in a calculation (generating an email message with multiple fields - in this case reminding a client of an upcoming resrevation time), the time reverts to he 24-hour notation. Any ideas?

Edited by Guest
Posted

Thanks for the quick response! The code you pointed me to does work . . .. sorry to be such a "newby" but, my new calc is giving me both the 24 hour and 12 hour notation. Any chance you can see my error:

==============================

"Dear " & Contact Management::First Name & ",¶¶ This message is to confirm your reservation for "&

OpenTix::Time 12 hour &Mod( Hour (Time 12 hour ) - 1 ; 12 ) + 1 & ":"

&Right ( "00" & Minute ( Time 12 hour ) ; 2 )

&Case ( Time 12 hour < 43200 ; " AM" ; " PM" ) &

Posted

I am guessing it's this part:

"Dear " & Contact Management::First Name & ",¶¶ This message is to confirm your reservation for "&

OpenTix::Time 12 hour &Mod( Hour (Time 12 hour ) - 1 ; 12 ) + 1 & ":"

&Right ( "00" & Minute ( Time 12 hour ) ; 2 )

&Case ( Time 12 hour < 43200 ; " AM" ; " PM" ) &

However, the context is not quite clear to me: why is it OpenTix::Time 12 hour in one place and Time 12 hour in another?

This topic is 6152 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.