Skip to Content
मेन्यू
This question has been flagged
1 Reply
4393 Views

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

Avatar
Discard
Best Answer

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

example:

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

Avatar
Discard
Author

Thank you!

Related Posts Replies Views Activity
2
जुल॰ 18
6935
3
अग॰ 20
9775
3
जून 25
801
0
अप्रैल 24
1783
4
नव॰ 23
5834