218
218
select dayofmonth("0000-00-00"),dayofmonth(d),dayofmonth(dt),dayofmonth(t),dayofmonth(c) from t1;
219
219
--error 1686 # 0000-00-00 is not a damn date.
220
220
select month("0000-00-00"),month(d),month(dt),month(t),month(c) from t1;
221
222
select quarter("0000-00-00"),quarter(d),quarter(dt),quarter(t),quarter(c) from t1;
222
223
select week("0000-00-00"),week(d),week(dt),week(t),week(c) from t1;
223
224
--error 1686 # Argh. 0000-00-00 is not a date.