Skip to Content
Menu
This question has been flagged
1 Atsakyti
4501 Rodiniai

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

Portretas
Atmesti
Best Answer

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

example:

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

Portretas
Atmesti
Autorius

Thank you!

Related Posts Replies Rodiniai Veikla
2
liep. 18
7080
3
rugp. 20
9976
3
birž. 25
1007
0
bal. 24
1878
4
lapkr. 23
5999