Source Code:
(back to article)
<?php $date = date_create_from_format('j-M-Y', '15-Feb-2023'); echo $date->format('Y-m-d'); // Output: 2023-02-15
Result:
Report an issue