Skip to Content
Menu
This question has been flagged
1 Reply
3657 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
5973
3
Aug 20
8848
0
Apr 24
399
4
Nov 23
4246
0
Oct 23
378