date formats

Hi

I am currently developing a SAAS solution with potential clients in the North American and European markets.

With date formats european and australasian preffered format is dd/MM/yyyy. In the north american market it is MM/dd/yyyy. i have formatted these date fields to all be dd/MM/yyyy. how is the date formatted when a North American client is installed?

Does it automatically pickup the preference setting in windows?
Does it pickup the preference in the java client?
Does it keep the format i have set?
Can i dynamically change it depending on country?

I also have the same issue with the page format for printing, US will be US letter, everywhere else will be A4. Can i dynamically change this? Is it better to pick up a country setting and having multiple forms for each report with different page settings?

if you set hard in the properties of a field “dd/MM/yyy” then that will be format that is used.

If you dont set anything in it then the global date formats are taken and those are from the current Locale.

If you do set your own because you dont trust completely the global settings that you can do this:

i18n:dateformat

and then have the “dateformat” message defined for the locales you want.