Multiple Date Formats in One Screen

In screens with two dates, one with date and one with date time, are getting shown in different ways for single digit dates.

"The requirement is to display dates in DD/MM/YYYY format. I.e. 2nd March 2009 should be displayed as 02/03/2009.
But the display formats provided by smartclient can display only 2/3/2009.

Eg. if a screen has a Date as (DD/MM/YYYY) and another Date time as (DD/MM/YYYY HH:MM:SS), One date can be displayed as 02/03/2009 and the other can only be displayed as 2/3/2009 10:20:30"

Please advise.

Search the docs for “dateFormat”, there’s a lot of information. You can implement your own formats, for specific components or system-wide.

Can you help in tracing to the exact document.

Here are some of the top hits if you search for “dateFormat” as suggested. These are the relevant docs.

Date.setShortDisplayFormat

ListGrid.dateFormatter

Look here for a user-contributed sample too.