Mention support for date_part('week',timestamp).
authorThomas G. Lockhart
Fri, 14 Apr 2000 15:08:56 +0000 (15:08 +0000)
committerThomas G. Lockhart
Fri, 14 Apr 2000 15:08:56 +0000 (15:08 +0000)
Fix spelling of "millennium".
 Thanks to Mika Nystrom .

doc/src/sgml/datatype.sgml
doc/src/sgml/func.sgml

index 9b34323303019f8c6451cddfd8f7f68f9c0589a5..a80674bf62716bef308c9eb51f257b8d631652b1 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -1022,7 +1022,7 @@ January 8 04:05:06 1999 PST
        Unit is second,
        minutehourday,
        weekmonthyear,
-       decadecenturymillenium,
+       decadecenturymillennium,
        or abbreviations or plurals of these units;
        Direction can be ago or
        empty.
index 67b8adaafb10fdf7a188486044bd48b985ef184e..8110c6325c5b216eb541ebd8c217015e9d025a42 100644 (file)
     For the
     date_part and date_trunc
     functions, arguments can be
-    `year', `month', `day', `hour', `minute', and `second',
+    `year', `month',
+    `day', `hour',
+    `minute', and `second',
     as well as the more specialized quantities
-    `decade', `century', `millenium', `millisecond', and `microsecond'.
-    date_part allows `dow'
-    to return day of week and `epoch' to return seconds since 1970
-    (for timestamp)
-    or 'epoch' to return total elapsed seconds (for interval).
+    `decade', `century',
+    `millennium', `millisecond',
+    and `microsecond'. 
+    date_part allows `dow'
+    to return day of week, 'week' to return the
+    ISO-defined week of year, and `epoch' to return
+    seconds since 1970 (for timestamp)
+    or 'epoch' to return total elapsed seconds
+    (for interval).
    
   
 
 
    
     All templates allow the use of prefix and suffix modifiers. Modifiers are
-    always valid for use in templates. The prefix 'FX' is a global modifier only.      
+    always valid for use in templates. The prefix
+    'FX' is a global modifier only.