I need to extract the hours from a Date/Time field in the format:
12:00, 13:00, 14:00, 16:00.
Right now I'm using this function:
"Date/time field".format('hh:mm:ss a');
But the hours comes in the form of
4:00 PM. How can I change the format?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community