Time format

Discussion, questions and support.
Post Reply
ragkag
Posts: 3
Joined: May 17th, ’23, 03:17

Post by ragkag » May 17th, ’23, 03:28

I'm quite new to FastKeys and I've tried to read a lot of the posts in the forum but I don't see how to accomplish this:
I want to create a Text Expander and I want to display the time in the following format: Hh:Mm am/pm
Example: the time is 9:24pm I want it to display it as 09:24pm (with a 2 digit hour and 2 digit minute, along with the lower case am/pm)
the time is 9:24am I want it to display it as 09:24am (with a 2 digit hour and 2 digit minute, along with the lower case am/pm)

I sure could use an example here. I'm running the Pro version.

Thanks in advance.
Bob Gregory
perfectrecall
Posts: 18
Joined: Mar 20th, ’23, 08:48

Post by perfectrecall » May 17th, ’23, 10:41

You can form the time as "hh:mm tt".
For more: https://www.autohotkey.com/docs/v1/lib/FormatTime.htm
ragkag
Posts: 3
Joined: May 17th, ’23, 03:17

Post by ragkag » May 17th, ’23, 12:25

Could you please give me an example as a Text Expander? Where do I code this?
perfectrecall
Posts: 18
Joined: Mar 20th, ’23, 08:48

Post by perfectrecall » May 17th, ’23, 13:38

https://youtu.be/qA31VXuigTY?t=330 You can watch after 05:30.
At 05:50 you need to write "hh:mm tt" in the format section.
ragkag
Posts: 3
Joined: May 17th, ’23, 03:17

Post by ragkag » May 17th, ’23, 14:39

Thank you... video helped a lot.
Post Reply