mysql(date)

FROM_UNIXTIME(timestamp|12332132, '%Y-%m-%d')->str;

UNIX_TIMESTAMP('2020-01-01 11:11:11')->timestamp|int;

STR_TO_DATE(2020-01-01','%Y-%m-%d');

DATE_FORMAT(date, '%Y-%m-%d %h:%i:%s');

DATE_SUB(now(), interval 1 day);

cast( 'asds|0'  as     DECIMAL(12,6));

posted @ 2021-07-22 17:21  何亮1  阅读(52)  评论(0编辑  收藏  举报