N/format Module
Use the format module to parse formatted data into strings and to convert strings into a specified format. The format module formats data according to personal preferences set on the Set Preferences page, accessible from Home > Set Preferences. See Setting Personal Preferences.
In This Help Topic
N/format Module Members
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Method |
string | Date |
Client and server scripts |
Takes a raw value and returns a formatted value.
Note:
This method is overloaded when you format a |
|
Date | string | number |
Client and server scripts |
Takes a formatted value and returns a raw value.
Note:
This method is overloaded when you format a |
||
Enum |
enum |
Client and server scripts |
Holds the string values for the supported field types. Use this enum to set the value of the |
|
enum |
Client and server scripts |
Holds the string values for supported time zone formats. Use this enum to set the value of the |