You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to format the time incase of 'PM'

Accepted answer
in Sales 1 comment


We are setting date and time to another fields , for AM it is working fine when we select the PM (ex: 6PM) it is giving as 6 AM only , attaching the sample code for reference.

Content (required):

  we are adding 12hrs when user selects PM and when setting the same date time to another field we are getting it as AM only instead of PM.

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!