getDate
Parameter:
pattern - format pattern for the date
Returns:
The date as a string, or false if the pattern is invalid.
Example:
str = getDate("hh:mm:ss")
// str contains the time of day, e.g. "09:46:32"
str2 = getDate("MM/dd/yyyy")
// str2 contains the date, e.g. "12/25/2008"
// str contains the time of day, e.g. "09:46:32"
str2 = getDate("MM/dd/yyyy")
// str2 contains the date, e.g. "12/25/2008"
Format Specifications
|
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*