Forums

Field Calendar - time

andrebertini 30 Jun, 2018
Hello, I'm using V6, and a calendar type field.
I also configured to save the time, as you can see in the first image.

In the frontend the time is not displayed (second image), only the date (green arrow). But in the hidden field, which I edited the code to be visible, the time is there (red arrow).
Am I doing something wrong so that it will not be displayed in the right field?
GreyHead 01 Jul, 2018
1 Likes
Hi andrebertini,

You have the Display Format set as 'DD/MM/YYYY' and that is what is being displayed.

Bob
healyhatman 02 Jul, 2018
Like Bob said. It's doing exactly what you told it to do.

Also if I were you I would get rid of the dash, otherwise you won't be able to store it properly as a datetime in your database and it will have to be a varchar or something. Display it with a dash if you want, but don't have the real value contain the dash.
This topic is locked and no more replies can be posted.