在我的mysql数据库中,我的日期是这样的:2011-01-06 09:39:114525
而且我需要分别提供年,月,日,小时,分钟,秒.
所以我需要从上面的例子中提取:
2011 01 06 09 39 11
我该怎么做 ?
php mysql
mysql ×1
php ×1