I’m using the PHP DateTime object from Date Piker Value and I would like the output date to be in spanish.
* Create PHP DateTime object from Date Piker Value
* this example expects the value to be saved in the format: yymmdd (JS) = Ymd (PHP)
$date = DateTime::createFromFormat('Ymd', get_field('date_picker'));
Any directions or example code would be very much appreciated,