امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I have this type of DateTime:
This is in UTC and I need to convert it to:
So far I have this in my template:
HTML:
How do I get this to convert and display properly? Right now it displays as Jan 1, 1970, and I'm not sure how to convert it as it's pulled in the body of the JSON call.
Thanks
2020-10-13T22:39:00.711Z
Click to expand...
This is in UTC and I need to convert it to:
Y-m-d i:s.u
Click to expand...
So far I have this in my template:
HTML:
{{ date(date_from_format("Y-m-d\TH:i:s.u\Z", '{$posts.created_at}'), '') }}How do I get this to convert and display properly? Right now it displays as Jan 1, 1970, and I'm not sure how to convert it as it's pulled in the body of the JSON call.
Thanks
