This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
token:ICUDateTime [2017/09/05 04:03] peternlewis [Time Units] |
token:ICUDateTime [2018/06/29 05:31] peternlewis |
||
---|---|---|---|
Line 30: | Line 30: | ||
* Fridays | * Fridays | ||
* Saturdays | * Saturdays | ||
- | * Sundays | ||
- | For a weekday (v8+), if you Plus 0, it will return the next appropriate day, possibly returning the start day if that is the correct day; if you Plus 1, it will return the next appropriate day, strictly after the starting day. | + | ==== Using Plus 0 or 1 With Day of Week (v8+) ==== |
+ | |||
+ | * If the //Time Unit// is a day of the week (//Sundays// thru //Saturdays//) | ||
+ | * **If you use a Plus 0** (//%ICUDateTimePlus%**0**%//), \\ | ||
+ | it will return the next appropriate day for that day of week, possibly returning today if it is the same day of week as entered; | ||
+ | * So if Today is //Tuesday//, and you use //%ICUDateTimePlus%0%Tuesdays%//, then it will return Today's date. | ||
+ | * Whereas, if you use //%ICUDateTimePlus%0%Wednesdays%//, it will return tomorrow's date. | ||
+ | * **If you use Plus 1** (//%ICUDateTimePlus%**1**%//), \\ | ||
+ | it will return the next appropriate day, strictly after Today. | ||
+ | |||
+ | === Examples === | ||
For example, if today is Tuesday, September 5, 2017, you would get these results: | For example, if today is Tuesday, September 5, 2017, you would get these results: | ||
Line 64: | Line 74: | ||
===== See Also ===== | ===== See Also ===== | ||
- | |||
- | ---- | ||
=== Actions === | === Actions === | ||
Line 102: | Line 110: | ||
* [[:JulianDate|JulianDate]] | * [[:JulianDate|JulianDate]] | ||
* [[:unixtime]] in GMT | * [[:unixtime]] in GMT | ||
- | |||
- | ---- | ||
==== Forum ==== | ==== Forum ==== |