-
+
Functions and Operators
|
D
- day of week (1-7; Sunday is 1)
+ day of the week, Sunday(1>) to Saturday(7>)
|
ID
- ISO day of week (1-7; Monday is 1)
+ ISO day of the week, Monday(1>) to Sunday(7>)
|
W
-
to_char's day of the week numbering
- (see the 'D' formatting pattern) is different from that of the
- extract function.
+ to_char(..., 'ID')'s day of the week numbering
+ matches the extract('isodow', ...) function.
+ to_char(..., 'D')'s does not match
+ extract('dow', ...)'s day numbering.
Result: 5
- Note that extract's day of the week numbering is
- different from that of the to_char function.
+ Note that extract's day of the week numbering
+ is different from that of the to_char(...,
+ 'D') function.