I get this format from javascript :
"Fri Mar 17 2017 20:27:32 GMT 0100 (CET)"
But when i parse it i get this:
0100-03-19 20:19:48
So i get year 100.
Im using this function:
$date = Carbon::parse($date);
Any suggestion?
via None