Skip to Content
Menu
This question has been flagged
1 Reply
4538 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
7113
3
Aug 20
10002
3
Jun 25
1059
0
Apr 24
1944
4
Nov 23
6040