MessagesReplacement version 2024-09-16new
{(ftime fmt="%b %DD %Y" when="second mon of Jan")}
| Jan 01/12/26D 2026
|
{(ftime fmt="%b %#d %Y" when="Second tue of Feb")}
| Feb %#d 2026
|
{(ftime fmt="%b %#d %Y" when="second Wed of Mar")}
| Mar %#d 2026
|
{(ftime fmt="%b %#d %Y" when="Second Thu of Apr")}
| Apr %#d 2026
|
{(ftime fmt="%b %#d %Y" when="second fri of May")}
| May %#d 2026
|
{(ftime fmt="%b %#d %Y" when="second sat of Jun")}
| Jun %#d 2026
|
{(ftime fmt="%b %#d %Y" when="third sun of Jul")}
| Jul %#d 2026
|
{(ftime fmt="%b %#d %Y" when="fourth mon of Aug")}
| Aug %#d 2026
|
{(ftime fmt="%b %#d %Y" when="first tue of Sep")}
| Sept %#d 2026
|
{(ftime fmt="%b %#d %Y" when="second wed of Oct this year")}
| Oct %#d 2026
|
{(ftime fmt="%b %#d %Y" when="last thu of Nov")}
| Nov %#d 2026
|
{(ftime fmt="%b %#d %Y" when="first wed of Dec 2014")}
| Dec %#d 2014
|
{(ftime fmt="%b %#d %Y" when="second Monday of January")}
| Jan %#d 2026
|
{(ftime fmt="%b %#d %Y" when="second Tuesday of February")}
...
{(ftime fmt="%b %#d %Y" when="first Wednesday of December")}
| Feb %#d 2026
...
Dec %#d 2026
|
{(ftime fmt="%F" when="last tue 2024-06-15")} \
{(ftime fmt="%F" when="last tue (ftime today)")}
| 2024-06-15 2026-06-09
|
(:prevtue:(substr 2013-05-19) last tue:)
Tue date: {(ftime fmt="%F" when={$:prevtue})} \
Prev Tu {$:prevtue}
| Tue date: 2013-05-19 Prev Tu (substr 2013-05-19) last tue
|
PmWiki version pmwiki-2.6.0 PHP Version 5.4.24
gives the examples:
PHP's strftime() is deprecated since PHP 8.1.0, however PmWiki's implementation is independent.