• Resolved Mark Dalderup

    (@2grafik)


    I use this code to show a date and description in repeatable fields

    <?php $repeatable_field_values = simple_fields_values("datum_training,omschrijving_training");
    foreach ($repeatable_field_values as $values) {
    echo "<span>";
    echo $values["datum_training"];
    echo "</span>";
    echo "<span>";
    echo $values["omschrijving_training"];
    echo "</span>";
    }
    ?>

    I use the date and time picker on the datum_training field

    It doesn’t give me a date but the word “array”.

    What is the correct syntax to access the date array and get a date formatted like this “11 November 2015” in the above code?

    Thanks for your help

    Mark

    https://www.ads-software.com/plugins/simple-fields/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘date format’ is closed to new replies.