numbering is different than TO_CHAR's ditto. EXTRACT starts at 0==Sunday
while TO_CHAR starts at 1==Sunday.
A suggestion for two documentation notes is attached as a patch to
current CVS HEAD.
Troels Arvin
1230 microseconds = 2.021230 seconds.
+
+
+
to_char's day of the week numbering
+ (see the 'D' formatting pattern) is different from that of the
+ extract function.
+
+
SELECT EXTRACT(DOW FROM TIMESTAMP '2001-02-16 20:38:40');
Result: 5
+ Note that extract's day of the week numbering is
+ different from that of the to_char function.
+
+