Question

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

  • 9 February 2022
  • 3 replies
  • 124 views

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.

3 replies

Userlevel 6
Badge +15

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