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 [2018/04/18 16:30]
JMichaelTX [Time Units] Clarify & reformat use of Plus 0 & 1
token:ICUDateTime [2018/06/29 05:32]
peternlewis
Line 33: Line 33:
 ==== Using Plus 0 or 1 With Day of Week (v8+) ==== ==== Using Plus 0 or 1 With Day of Week (v8+) ====
  
-*  If the //Time Unit// is a day of the week (//Sunday// thru //Saturday//)+*  If the //Time Unit// is a day of the week (//Sundays// thru //Saturdays//)
   * **If you use a Plus 0** (//​%ICUDateTimePlus%**0**%//​),​ \\   * **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; 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%Tuesday%//, then it will return Today'​s date. +    * So if Today is //​Tuesday//,​ and you use //​%ICUDateTimePlus%0%Tuesdays%//, then it will return Today'​s date. 
-    * Whereas, if you use //​%ICUDateTimePlus%0%Wednesday%//, it will return tomorrow'​s date.+    * Whereas, if you use //​%ICUDateTimePlus%0%Wednesdays%//, it will return tomorrow'​s date.
   * **If you use Plus 1** (//​%ICUDateTimePlus%**1**%//​),​ \\   * **If you use Plus 1** (//​%ICUDateTimePlus%**1**%//​),​ \\
 it will return the next appropriate day, strictly after Today. ​ it will return the next appropriate day, strictly after Today. ​
Line 50: 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 74: Line 75:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 === Actions === === Actions ===
Line 112: 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