I am tryin to parse date format using laravel carbon. Here I tried
dd(Carbon::parse('2021-10-12T09:20:27:915 GMT+0600')->format('Y-m-d h:i:s'));
It shows DateTime::__construct(): Failed to parse time string (2021-10-12T09:20:27:915 GMT+0600) at position 19 (:): Unexpected
Thanks in advance
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3BBSKRv
via IFTTT
Aucun commentaire:
Enregistrer un commentaire