Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

12 Hour Notation in Calculation

Featured Replies

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

See here:

http://www.fmforums.com/forum/showtopic.php?tid/193751/

  • Author

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" ) &

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?

  • Author

that was the problem . . thanks very much

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.