The %ICUDateTime%, %ICUDateTimePlus%, %ICUDateTimeMinus% and %ICUDateTimeFor% tokens return the a date formatted in a specific format. More details are provided in the Dates and Times article.
%ICUDateTimeFor% TIME(2015, 8, 23,12,0,0) %EEE, MMM d, yyyy%
which will generally work anywhere since at midday GMT, the entire world (almost) is on the same date. Otherwise, folks with negative GMT offsets (which includes all of the Americas for example) will get the wrong result.
===== Using Variables with These Date/Time Tokens =====
To use a Variable instead of a number in a token, like the ICUDateTimePlus token, just enter the Variable name without any additional %, as in:
%ICUDateTimePlus%3%Days%yyyyMMdd%
%ICUDateTimePlus%YourVariableName%Days%yyyyMMdd%
For an example, see Generate File Named Based on Day of Week [Example]
===== See Also =====
—-
=== Actions ===
* Set Variable to Text
* See all Actions
=== Functions ===
* DAY()
* DOW()
* GMTOFFSET()
* JD2TIME()
* MJD2TIME()
* NOW() (unixtime)
* TIME() (unixtime)
* TIME2JD()
* TIME2MJD()
* See all Functions
=== Tokens ===
* %ICUDateTimeFor%
* %ICUDateTimeMinus%
* %ICUDateTimePlus%
* %LongDate% (local time)
* %LongTime% (local time)
* %NumberDate% (local time)
* %ShortDate% (local time)
* %ShortTime% (local time)
* See all Tokens
=== Topics ===
* Dates and Times
* JulianDate
* unixtime in GMT
—-
==== Forum ====
- Adding minutes to current time
- If...then...condition to run only during date range
- Keyboard Maestro Forum topics about %ICUDateTime% token