Skip to Content
Menu
This question has been flagged
1 Reply
4536 Views

<field name="booking_date" /> 

this field is showing date like ----- 12/27/2022

i want this in ---- 27/12/2022 formate

Avatar
Discard
Best Answer

Hi,

Try like below.

<field name="date_deadline" eval="DateTime.today().strftime('%Y-%m-%d %H:%M')"/>


Use the strftime() function and put the format.

Regards

Avatar
Discard
Related Posts Replies Views Activity
3
Jun 25
761
1
Jan 25
17708
1
Jan 20
3729
1
Dec 19
6108
1
Dec 19
17040