How we can find the run time and find if it is AM or PM

Hello,
This returns if the time is “AM” or “PM”. You can try it out.

Thanks,
Athira