首页
科技
登录
6mi
u
盘
搜
搜 索
科技
ThinkPHP5 DB查询数据时把时间戳格式字段改为日期格式
ThinkPHP5 DB查询数据时把时间戳格式字段改为日期格式
科技
2025-10-17
16
$weight_data
=
Db
:
:
name
(
'remote_detection'
)
-
>
where
(
$where
)
-
>
field
(
"item_name,first_check_weight,second_check_weight,from_unixtime(create_time,'%Y-%m-%d') as time"
)
-
>
select
(
)
;
转载请注明原文地址:https://blackberry.8miu.com/read-41911.html
最新回复
(
0
)