Skip to main content
Hi All, what is the custom time format for '11:21:00 PM' ? custom time format for 23:21:00 is HH🇲🇲ss, and is working fine, but hh🇲🇲ss should work for 11:21:00 PM but not working> please suggest.

Hi @Vijay Gupta​ ,

 

 

  • 'h' or 'H': Enables you to specify an hour as 'hh' or 'HH'.
  •  HH is a 24-hour time format and hh is a 12-hour time format with AM or PM.

 

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-date-time-formats.html/p>

 

Thanks!

 


Hi,

Thanks for your reply, But it's not working.. I tried it already...


Hi @Vijay Gupta​ 

 

Try adding a at the back of the format.

 

imageThe a will show the AM or PM at the back of the time.


Reply