function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DaGunsterDaGunster 

Event 'time' like '9pm' works in front end but not Apex

I'm programmatically building events for our sales staff.

I'm getting records to write but have a few questions I'll be posing.

In the front end - the user would enter something like  - 9am -  and Salesforce swallows it.

Is the function that converts the - 9am - into a date available in code?

Any suggestion on converting such a time?