Skip to Content
Menú
This question has been flagged
1 Respondre
4408 Vistes

I have a datetime attribute into my db. I would like to view (not write: only view) it as date. Is it possible?

Avatar
Descartar
Best Answer

yes, using widget="date" with the corresponding field.

example:

<field name="your_datetime_field_name" widget="date"/>
 

Avatar
Descartar
Autor

Thank you!

Related Posts Respostes Vistes Activitat
2
de jul. 18
6953
3
d’ag. 20
9804
3
de juny 25
845
0
d’abr. 24
1815
4
de nov. 23
5847