Skip to Content
Menu
This question has been flagged
1 Reply
4871 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
7474
3
Aug 20
10552
3
Jun 25
1511
0
Apr 24
2389
4
Nov 23
6550