PHP的unix时间戳怎么在查询数据库时时转化为timestamp

2025-02-26 14:58:19
推荐回答(1个)
回答1:

SELECT FROM_UNIXTIME(publish_time) from t_ns_news;用这个FROM_UNIXTIME函数。