December 31, 1969, at 11:59 PM
1747758998
-1
-1
2007-08-13
{(ftime News-20070501)}
May 01, 2007, at 12:00 AM
{(ftime MarchingOrders2007)}
May 20, 2025, at 04:36 PM
{(ftime 1177600111)}
May 20, 2025, at 04:36 PM
{(ftime %s)}
1747758998
{(ftime @1177600111)}
April 26, 2007, at 03:08 PM
{(ftimefmt="%b %#d %Y"when="second mon of Jan")}{(ftimefmt="%b %#d %Y"when="second tue of Feb")}{(ftimefmt="%b %#d %Y"when="second wed of Mar")}{(ftimefmt="%b %e %Y"when="second thu of Apr")}{(ftimefmt="%b %e %Y"when="second fri of May")}{(ftimefmt="%b %e %Y"when="second sat of Jun")}{(ftimefmt="%b %e %Y"when="third sun of Jul")}{(ftimefmt="%b %e %Y"when="fourth mon of Aug")}{(ftimefmt="%b %e %Y"when="first tue of Sep")}{(ftimefmt="%b %e %Y"when="second wed of Oct")}{(ftimefmt="%b %e %Y"when="third thu of Nov")}{(ftimefmt="%b %e %Y"when="first wed of Dec")}----{(ftimefmt="%b %e %Y"when="second Monday of January")}{(ftimefmt="%b %e %Y"when="second Tuesday of February")}
...
{(ftimefmt="%b %e %Y"when="first Wednesday of December")}
Jan 13 2025
Feb 11 2025
Mar 12 2025
Apr 10 2025
May 9 2025
Jun 14 2025
Jul 20 2025
Aug 25 2025
Sep 2 2025
Oct 8 2025
Nov 20 2025
Dec 3 2025
2025 May 26 Mon
2025 May 27 Tue
2025 Jun 04 Wed
2025 Jun 12 Thu ?
2025 May 24 Sat
2025 May 31 Sat
2025 Jun 07 Sat
2025 Jun 14 Sat
2025 May 20 Tue
2025 May 13 Tue
2025 May 20 Tue
2025 May 27 Tue ?
2025 May 22 Thu
2025 May 12 Mon
2025 May 19 Mon
2025 May 26 Mon
All the above are correct; "4 thu" means "Thursday the fourth week", knowing that "next Thursday" is "this Thursday" or "Thursday the first week". --Petko
2025 Apr 20 Sun ?
2025 May 20 Tue
2025 Jun 20 Fri
2025 Jun 20 Fri ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 Oct 20 Mon ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2024 May 20 Mon
2025 May 20 Tue
2026 May 20 Wed
{(ftime"%Y %b %d %a""3 wed")}{(ftime"%Y %b %d %a""wed 3")} ?
{(ftime"%Y %b %d %a""3 wed aug")} ?
{(ftime"%Y %b %d %a""aug 3 wed")} ?
{(ftime"%Y %b %d %a""aug wed 3")} ?
{(ftime"%Y %b %d %a""3 wed this aug")} ?
{(ftime"%Y %b %d %a""this aug 3 wed")} ?
{(ftime"%Y %b %d %a""3 wed aug this year")} ?
{(ftime"%Y %b %d %a""aug this year 3 wed")} ?
{(ftime"%Y %b %d %a""this year aug 3 wed")} ?
{(ftime"%Y %b %d %a""this year aug wed 3")} ?
2025 Jun 04 Wed
2025 May 20 Tue ?
2025 Sep 03 Wed ?
2025 Aug 06 Wed ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 May 20 Tue ?
2025 Sep 03 Wed ?
2025 Sep 03 Wed ?
2025 Aug 06 Wed ?
2025 May 20 Tue ?
If something is unsatisfactory with relative dates, the reason is the strtotime function in PHP, not PmWiki which uses the date this function recognizes and returns. See also Relative formats on which relative dates are recognized, for example "this/last/next Aug" is not among the ones that are expected to be recognized. --Petko October 19, 2014, at 06:08 AM
added Version 2.3.0 (2022-01-15)
{(ftime %o)}{(ftime"%o")}{(ftime"%Y %b %d%o %a")}
th
th
2025 May 20th Tue
added Version 2.3.12 (2022-09-25)
{(ftime"%L")}{(ftime"%L""-4minutes")}{(ftime"%L""-4hours")}{(ftime"%L""-4days")}{(ftime"%L""-4months")}{(ftime"%L""-4years")}{(ftime"%L""2022-09-25")}{(ftime"%L""-9months")}{(ftime"%L""-10months")}{(ftime"%L""-11months")}{(ftime"%L""-12months")}
A stamp in the future is unexpected,\\
we should handle it better:
{(ftime"%L""+6days")}{(ftime"%L""+6months")} (±DST)
A stamp in the future is unexpected, we should handle it better:
(±DST)
0: 00.00 00.00 config start
1: 00.03 00.01 config end
2: 00.42 00.20 MarkupToHTML begin
3: 00.42 00.20 MarkupToHTML begin
4: 00.43 00.21 MarkupToHTML end
5: 00.43 00.21 MarkupToHTML begin
6: 00.43 00.21 MarkupToHTML end
7: 00.43 00.21 MarkupToHTML begin
8: 00.44 00.21 MarkupToHTML end
9: 00.44 00.21 MarkupToHTML begin
10: 00.44 00.21 MarkupToHTML end
11: 00.44 00.21 MarkupToHTML begin
12: 00.45 00.21 MarkupToHTML end
13: 00.45 00.21 MarkupToHTML begin
14: 00.45 00.21 MarkupToHTML end
15: 00.45 00.21 MarkupToHTML begin
16: 00.45 00.21 MarkupToHTML end
17: 00.45 00.21 MarkupToHTML begin
18: 00.46 00.22 MarkupToHTML end
19: 00.46 00.22 MarkupToHTML begin
20: 00.47 00.22 MarkupToHTML end
21: 00.47 00.22 MarkupToHTML begin
22: 00.48 00.23 MarkupToHTML end
23: 00.48 00.23 MarkupToHTML begin
24: 00.48 00.23 MarkupToHTML end
25: 00.48 00.23 MarkupToHTML begin
26: 00.48 00.23 MarkupToHTML end
27: 00.48 00.23 MarkupToHTML begin
28: 00.50 00.24 MarkupToHTML end
29: 00.51 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
30: 00.51 00.25 ReadApprovedUrls SiteAdmin.ApprovedUrls end
31: 00.54 00.27 MarkupToHTML end
32: 00.55 00.28 MarkupToHTML begin
33: 00.56 00.29 MarkupToHTML end
34: 00.56 00.29 MarkupToHTML begin
35: 00.57 00.30 MarkupToHTML end
36: 00.57 00.30 now