1281 Posts
5 years ago

Hi folks

I have a search form.

One of the fields is a timestamp i.e. 2018-03-15 01:45:00

In the form I want to render in a select dynamic this field, but with the date formatted for the text (not value) i.e. 15 March 2018

Is this possible?

DateTime seems to imply it will work but no joy for me....

Get a Book for SEBLOD
4229 Posts
5 years ago
Level 1

If this is Calendar field (not JForm Calendar) you just need to change the format set in your field settings - field converts text to value automatically internally. If you need different format when saving record you can duplicate this field with the same storage and use one version in search and another in form.

Get a Book for SEBLOD