php datetime 类型转指定date格式

来源:互联网 发布:java和c的区别和联系 编辑:程序博客网 时间:2024/06/05 12:46
$date = new DateTime($releasedate);
$releasedateformat=$date->format('d F, Y');