Differences

This shows you the differences between the selected revisions of the page.

2022-01-14 2023-04-24 (current)
link update (martin) the actual "common" syntax (martin)
Line 7: Line 7:
The ''%TIMESTAMP%'' syntax can be used as: The ''%TIMESTAMP%'' syntax can be used as:
-  * A locale-independent alternative to the ''date'' command/variable; ((The ''date'' command/variable uses locale-specific format, so common syntax like ''%%%date~...%%%'' yields expected ''%%yyyymmdd...%%'' value on US-locale only.))+  * A locale-independent alternative to the ''date'' command/variable; ((The ''date'' command/variable uses locale-specific format, so common syntax like ''<nowiki>%date:~10,4%%date:~4,2%%date:~7,2%</nowiki>'' yields expected ''%%yyyymmdd%%'' value on US-locale only.))
  * An easy way to calculate relative times, like yesterday date, tomorrow date, time one hour ago, etc.   * An easy way to calculate relative times, like yesterday date, tomorrow date, time one hour ago, etc.

Last modified: by martin