how to re-format datetime string in php?

后端 未结 8 984
栀梦
栀梦 2020-11-29 07:00

I receive a datetime from a plugin. I put it into a variable:

$datetime = \"20130409163705\"; 

That actually translates to yyyymm

8条回答
  •  误落风尘
    2020-11-29 07:54

    https://en.functions-online.com/date.html?command={"format":"l jS \\of F Y h:i:s A"}
    

提交回复
热议问题