SELECT YEAR(CURDATE()) AS 'year',QUARTER(CURDATE()) AS 'quarter',MONTH(CURDATE()) AS 'month',WEEKOFYEAR(CURDATE()) AS 'week',DAYOFYEAR(CURDATE()) AS 'day'