Please make use of the below code as in the inline screenshots.
Datetime.Now.ToString(“tt”) - this will simply return the value whether AM or PM.
Hope this will help you. Thank you.
Please make use of the below code as in the inline screenshots.
Datetime.Now.ToString(“tt”) - this will simply return the value whether AM or PM.
Hope this will help you. Thank you.