Skip to Content
Menu
This question has been flagged
1 Reply
4402 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
6937
3
Aug 20
9786
3
Jun 25
823
0
Apr 24
1792
4
Nov 23
5838