Date() not changing format?


It seems that my date formatting is not changing

it’s always YYYY-MM-D

<?php echo $page->speel_data()->date('Y') ?>

    label: Speel data
    type: date
    format: DD/MM/YYYY
    width: 1/2`

displayed on the site as: 2018-04-20

is there an way to change this?
I’ve tried a bunch of different formats in the date()


You can’t use it like above, has to be:

<?= $page->date('Y', 'speel_data') ?>

date() is not a field method but a page method.


That worked! thank you so much for all the support