我将文章及其相应的时间戳存储在mysql数据库中。
我想使用date()格式化时间戳,并在从数据库中检索文章时显示它是AM还是PM。任何帮助将不胜感激。
mysql database time
database ×1
mysql ×1
time ×1