Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4697 Vistas

<field name="booking_date" /> 

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

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

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jun 25
1103
1
ene 25
17977
1
ene 20
3968
1
dic 19
6401
1
dic 19
17276