Level 73
You should use the standard MySQL standard 2019-12-22when storing the date, when you display it you can use whatever format you like.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
currently working on date in react js . how convert it into other format . attachment below is equivalent with this https://imgur.com/a/1iv0eOg
$dateParse = Carbon::parse($request->get('estimate_shipping'));
$dateParse = Carbon::parse($request->get('estimate_shipping'))->format('d/m/Y'); // Gives me error ( call member function on string()
dd($request->get('estimate_shipping'),$dateParse);
Please or to participate in this conversation.