diff --git a/functions/datetime.xml b/functions/datetime.xml index 6c844e22d8..1d5fb2038a 100644 --- a/functions/datetime.xml +++ b/functions/datetime.xml @@ -1,5 +1,5 @@ - + Date and Time functions Date/time @@ -906,6 +906,19 @@ echo strftime ("Last day in Feb 2000 is: %d", $lastday); preceded by a space (range ' 1' to '31') + + + %g - like %G, but without the century. + + + + + %G - The 4-digit year corresponding to the ISO week number (see %V). + This has the same format and value as %Y, except that if the ISO week + number belongs to the previous or next year, that year is used + instead. + + %h - same as %b @@ -999,7 +1012,9 @@ echo strftime ("Last day in Feb 2000 is: %d", $lastday); %V - The ISO 8601:1988 week number of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in the current year, and with - Monday as the first day of the week. + Monday as the first day of the week. (Use %G or %g for the year + component that corresponds to the week number for the specified + timestamp.)