Skip to Content
Menu
This question has been flagged
1 Reply
4650 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
Jul 18
7229
3
Aug 20
10161
3
Jun 25
1229
0
Apr 24
2053
4
Nov 23
6205