Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I'm creating a script that will send an email to people that have an appointment.

In the email body I'm using a calculated result that pulls over the person's appointment

time. Could someone please share with me how I can format the time as text with the

appropriate AM or PM tag ??

I've searched for this but can't seem to find anything.

Posted

You may find better, but this works for me, result text:

Case (

TimeAppt = 43200;

Hour (TimeAppt) & ":" &

Right ( "00" & Minute(TimeAppt); 2) & " PM";

TimeAppt > 43200;

(Hour (TimeAppt) - 12) & ":" &

Right ( "00" & Minute(TimeAppt); 2) & " PM";

Hour (TimeAppt) & ":" &

Right ( "00" & Minute(TimeAppt); 2) & " AM"

This topic is 7378 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.