how to change date format in date variable in a record producer?

georgechen
Kilo Guru

Greeting folks, 

I would like to ask you gurus how to change the date format in a date variable within a record producer.   In my personal instance, in a dummy record producer where a date variable exists, if I type '4/5/2018' (see below screenshot)

find_real_file.png

 

and then jump to next object (or tab key - lost focus), it automatically converts to '0004-05-20' which is unexpected as users would not know what that is?

find_real_file.png

 

When submitting the form, it creates an IN record (as it's mapping to incident table)

find_real_file.png

it populates as 2018-04-05 which is yyyy-mm-dd but I want to it to in the format of Australia of dd-mm-yyyy.

 

I've checked 'System Localization' under System Properties but not sure where to configure the variable date format.

find_real_file.png

 

Any advice would be appreciated. 

 

Thanks,

George

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

Check System Properties->System and look for Date Format. Also if user record has a different format, it will override the system format for that user.

 

find_real_file.png


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

Check System Properties->System and look for Date Format. Also if user record has a different format, it will override the system format for that user.

 

find_real_file.png


Please mark this response as correct or helpful if it assisted you with your question.

Much appreicated Sanjivmeher, it worked like a charm on the format!!

I will need to investigate why the month and day reverses in the question_answer table (e.g entering 4/5/2018 -> question answer captures as 2018-04-05 , which is incorrect in Australian it is meant to be 2018-05-04) I think I will raise with HI for further support as this happens to my personal instance as well as all of my organisations' instances.

 

leboute
Tera Contributor

Looking for potential ways to automate have different formats (overrides to the global property) per application scope and/or automate format based on user country field or similar locale information at user record level. Probably a business rule to manipulate user's preference based on other fields plus an initial load script for all users would do. Anyone knows of a simpler way for it?