rbf_getDateInUserFormatFromISO
Purpose
This function converts an input Date or Date/Time value from ISO format to User format.
Syntax
rbf_getDateInUserFormatFromISO(inputDate,
format)
Parameters
inputDate
The Date or Date/Time value to be returned.
format
The format of the date to be returned. To convert input value into Date format, enter Date and to convert input value into Date/Time format, enter DateTime
in the format parmeter.
Example
If the user selects MMM d, yyyy format for Date from the Localization settings as shown below:
rbf_getDateInUserFormatFromISO("2018-06-15", "Date"); // Date Format
The output result is
Jun 15, 2018
If the user selects MMM d, yyyy, h:mm:ss tt 'GMT+5:30 format for Date/Time from the Localization settings as shown below:
rbf_getDateInUserFormatFromISO("06/24/2018, 12:00 AM", "DateTime"); //DateTime Format
The output result is
Jun 24, 2018, 12:00:00 AM GMT+5:30