User Tools

Site Tools


Dates_and_Times

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
Dates_and_Times [2019/07/01 02:55]
peternlewis
Dates_and_Times [2021/10/19 22:38]
peternlewis
Line 12: Line 12:
 The most commonly used token is for returning the current date/time in the format you like: The most commonly used token is for returning the current date/time in the format you like:
  
-''​%ICUDateTime%**format**%''​ where **format** is from the [ICU Date/Time codes](http://userguide.icu-project.org/formatparse/datetime#​TOC-Date-Time-Format-Syntax).+''​%ICUDateTime%**format**%''​ where **format** is from the [ICU Date/Time codes](https://www.keyboardmaestro.com/action/linkthru?​icudatetimereference).
  
 For example, using the [[action:​Set_Variable_to_Text|Set Variable to Text]] Action:​\\ ​ For example, using the [[action:​Set_Variable_to_Text|Set Variable to Text]] Action:​\\ ​
Line 39: Line 39:
 ###Format Codes ###Format Codes
  
-**For the complete list** of codes, see the [ICU Date/Time codes](http://userguide.icu-project.org/formatparse/datetime#​TOC-Date-Time-Format-Syntax).+**For the complete list** of codes, see the [ICU Date/Time codes](https://www.keyboardmaestro.com/action/linkthru?​icudatetimereference).
  
  
Line 73: Line 73:
 * <​TimeUnit>​ is one of the following: Seconds, Minutes, Hours, Days, Weeks, Months, Years, or a weekday, Sundays, Mondays, Tuesdays, Wednesdays, Thursdays, Fridays, Saturdays. * <​TimeUnit>​ is one of the following: Seconds, Minutes, Hours, Days, Weeks, Months, Years, or a weekday, Sundays, Mondays, Tuesdays, Wednesdays, Thursdays, Fridays, Saturdays.
 * <​Quantity>​ is the number of <​TimeUnit>​s * <​Quantity>​ is the number of <​TimeUnit>​s
-* <​format>​ is the format of text returned, using the [ICU Date/Time codes](http://userguide.icu-project.org/formatparse/datetime#​TOC-Date-Time-Format-Syntax)+* <​format>​ is the format of text returned, using the [ICU Date/Time codes](https://www.keyboardmaestro.com/action/linkthru?​icudatetimereference)
 * [[function:​NOW|NOW()]] and [[function:​TIME|TIME()]] functions return the current time in GMT * [[function:​NOW|NOW()]] and [[function:​TIME|TIME()]] functions return the current time in GMT
 * <+ or –\> is the operator to add (+) or subtract (–) * <+ or –\> is the operator to add (+) or subtract (–)
Dates_and_Times.txt · Last modified: 2023/06/20 02:44 by peternlewis