User Tools

Site Tools


token:ICUDateTime

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
Next revision Both sides next revision
token:ICUDateTime [2017/09/07 00:11]
peternlewis
token:ICUDateTime [2018/06/29 05:32]
peternlewis
Line 31: Line 31:
 * Saturdays * Saturdays
  
-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 39: Line 50:
  
 Note how Plus 0 and Plus 1 are the same unless today is the same as the weekday. ​ Also note that Plus 0 and Minus 0 is not the same (except when today is the same as the weekday). Note how Plus 0 and Plus 1 are the same unless today is the same as the weekday. ​ Also note that Plus 0 and Minus 0 is not the same (except when today is the same as the weekday).
 +
 ===== Format Specification ===== ===== Format Specification =====
  
Line 63: Line 75:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 === Actions === === Actions ===
Line 101: Line 111:
 * [[:​JulianDate|JulianDate]] * [[:​JulianDate|JulianDate]]
 * [[:​unixtime]] in GMT * [[:​unixtime]] in GMT
- 
----- 
  
 ==== Forum ==== ==== Forum ====
token/ICUDateTime.txt · Last modified: 2023/01/03 00:19 by ccstone