Skip to main content
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.

  • February 9, 2022
  • 3 replies
  • 418 views

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.

3 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • February 9, 2022

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!

 


  • Author
  • Cadet | Tier 2
  • 1 reply
  • February 9, 2022

Hi,

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


  • Navigator | Tier 3
  • 30 replies
  • February 10, 2022

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings