Bug #14883 Wanted "mode" parameter for functions dayofweek(), weekday()

Submitted: 11 Nov 2005 19:30 Modified: 15 Dec 2010 11:39
Reporter: Gisbert Selke (Basic Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:5.0.15 OS:Windows (Win XP)
Assigned to: CPU Architecture:Any
Tags: qc

[11 Nov 2005 19:30] Gisbert Selke
Description:
It would be nice if functions dayofweek() and weekday() accepted an optional mode
parameter similar to the one used in week() (i.e., Monday vs. Sunday as
first day of week; first day = 1 or = 0).
Apparently, there are a number of conventions about this, and it would be nice to be able to cater for them, just like in the week() case.

How to repeat:
n/a
[15 Dec 2010 11:39] Valeriy Kravchuk
Thank you for the feature request.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.