Support

Account

Home Forums General Issues Format of date picker elements Reply To: Format of date picker elements

  • Hi GusGF,
    I’ve used date formatting like this:

    $startmulti = get_sub_field('start_date_1', false, false);
     $startmulti = new DateTime($startmulti);

    and then in then in my output
    $startmulti->format('F j')

    This has always worked for me to set the format of the datepicker.