Format date from "mm/dd/yyyy" to "dd/mm/yyyy"

Hi, When we take date input from user by using @sys.date or @sys.date-time dialogflow cx gives the format mm/dd/yyyy. I need the format dd/mm/yyyy? How to convert the format dd/mm/yyyy from mm/dd/yyyy.

My input was 01/03/1996 and the format is dd/mm/yyyy. But dialogflow convert it mm/dd/yyyy.

So how can i get dd/mm/yyyy format ?

I think that is due to the locale of the agent, if you change it to an English that uses dd/mm/yyyy as date format it should fix the issue!

Xavi

@xavidop I added locale in en but not solved my issue. Please look this screenshot

for locale English US the date format is mm/dd/yyyy you will need to change the locale to a one that the format is dd/mm/yyyy

@xavidop I need dd/mm/yyyy format for Australian EN locale. So how can i change the date format mm/dd/yyyy to dd/mm/yyyy. Can you please give me any idea?

mm that is weird… did you click on save in the agent settings and restart the simulator?

@xavidop Yes yes! clicked save and also restart the simulator but there are no changes when I changed locale :slightly_smiling_face:

oh wow, can you try with another English-locale? like the British one?

@xavidop I tried but nothing changed :slightly_smiling_face: