小智 7
select to_date(from_unixtime(your timestamp));
example:
select to_date(from_unixtime(1490985000));
output:2017-04-01
Run Code Online (Sandbox Code Playgroud)
我希望它会起作用。如果我错了,请告诉我。
| 归档时间: |
|
| 查看次数: |
18088 次 |
| 最近记录: |