XP is just a number | |
PerlMonks |
Re: (OT) parsing time in mysqlby Ieronim (Friar) |
on Aug 11, 2006 at 21:18 UTC ( [id://566947]=note: print w/replies, xml ) | Need Help?? |
I think,
etc. will work. MySQL has corresponding WEEK, YEAR and MONTH functions, too. I assumed that you are using MySQL 4.1.1 or above. It not, use DATE_FORMAT with corresponding formatstring instead. UPD:I wanted to give a quick and dirty answer, but this answer was TOO dirty :) Bug is now corrected. s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print
In Section
Seekers of Perl Wisdom
|
|