GetStringFromDateTime Method

The GetStringFromDateTime method formats a date and time string. It returns this formatted date and time in a string. It uses the following syntax:

GetStringFromDateTime(input_date, input_format, output_format) 

where:

  • input_date specifies the date that GetStringFromDateTime formats.

  • input_format describes how input_date is formatted.

  • output_format specifies how to format the output.

For example:

SiebelApp.S_App.LocaleObject.GetStringFromDateTime(2012-12-05, DD/MM/YYYY, M/D/
YYYY)