Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 287 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 287 Bytes

Parse any date formats

How to install:

composer require itsimiro/php-carbon-parse-any-format 

How to use:

    $dateParser = new \Itsimiro\PhpCarbonParseAnyFormat\DateParser();

    $dateParser->parseSafety('10/08/2023')->format('Y-m-d'); // output: 2023-08-10