Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4740 Zobrazení

<field name="booking_date" /> 

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

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvn 25
1126
1
led 25
17983
1
led 20
3978
1
pro 19
6415
1
pro 19
17288