Support

Account

Home Forums General Issues Datepicker: wrong format is displaying Reply To: Datepicker: wrong format is displaying

  • Hey guys,

    Have you debugged your code to see what is and isn’t working?

    eg:

    
    if(get_field('deadline'))
    {
        $date = DateTime::createFromFormat('Ymd', get_field('deadline'));
        
        echo '<pre>';
        	print_r($date);
        echo '</pre>';
        die;
    }