Link to home
Start Free TrialLog in
Avatar of kvrogers
kvrogers

asked on

Crystal Reports_ Convert time to hh:mm AM or PM

I have a report where the field T_Appt (time of appointment) is actually a number like 2600.  I would like this field to read like 07:15 AM or  1:00 PM.

It is printing like this  7:00:00AM.  Here is the formula I'm using.  

 time(TRUNCATE({Assc99.T_Appt}/3600),((REMAINDER({Assc99.T_Appt},3600))/60),0)

How do I get rid of the SECONDS?

KR
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kvrogers
kvrogers

ASKER

that was fairly easy.  I was overthinking it.  Thanks for all your help.