SELECT MAKEDATE(YEAR(CURDATE()), 1) + INTERVAL (QUARTER(CURDATE()) - 1) QUARTER
Tuesday, July 21, 2015
MySQL - get the first day of the current quarter
Subscribe to:
Post Comments (Atom)
SELECT MAKEDATE(YEAR(CURDATE()), 1) + INTERVAL (QUARTER(CURDATE()) - 1) QUARTER
No comments:
Post a Comment