Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 unix 时间戳转换为可读文本。时间戳存储在数据库中并显示在表中。问题是结果不准确。
<td>'.date("F j, Y, g:i a", strtotime($row['expire'])).'</td>
两种选择:
strtotime