Building Your Event-Driven Architecture : Integration Server Built-In Services Reference : Date Folder : Summary of Elements in this Folder : pub.date:formatDate
pub.date:formatDate
WmPublic. Formats a Date object as a string.
Input Parameters
date
java.util.Date Optional. Date/time that you want to convert.
pattern
String Pattern string that describes the format in which you want the date returned. For pattern-string notation, see Pattern String Symbols.
timezone
String Optional. Time zone in which you want the output date and time expressed. Specify a time zone code as shown in Time Zones (for example, EST for Eastern Standard Time).
If you do not specify timezone, the value of the server's "user timezone" property is used. If this property has not been set, GMT is used.
locale
String Optional. Locale in which the date is to be expressed. For example, if locale is en (for English), the pattern EEE d MMM yyyy will produce Friday 23 August 2002, and the locale of fr (for French) will produce vendredi 23 août 2002.
If locale is not specified, Integration Server uses the locale from the session used by the client that invoked the service.
Output Parameters
value
String The date/time given by date in the format specified by pattern.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback