getUserDatetimeFormat method: Utility class
Syntax
getUserDatetimeFormat()
Description
Use this method to construct and return the date/time format string based on the user's personalization settings.
Parameters
None.
Returns
A string containing the format mask representing the user's preferred date/time format—for example: MM-dd-yyyy hh:mm a.