Time.format(timeZone,locale)

Formats this date-time using provided time zone and locale The example:

display format('now', timeZone : TimeZone.getTimeZone(arg1 : "GMT-10"), locale : Java.Util.Locale.ITALY)

displays : "29-mar-2005 7.25.02", date and time set to Argentina Time zone, but localized to ITALY. The example:

display format('now', timeZone : TimeZone.getTimeZone(arg1 : "GMT-10"), locale : Java.Util.Locale.FRANCE)

displays: "29 mars 2005 07:25:53", date and time set to Argentine Time zone, but localized to FRANCE.

Arguments:

Name Type Description Mode
timeZone Java.Util.TimeZone   in
locale Java.Util.Locale   in