toDate(String dateFormat)
Returns a date that represents this string based on the specified format.
Note: If you do not know the format of the date, you can use toDate() which attempts to determine the format, but is less efficient.
Input Parameters
dateFormat | String A pattern that defines the format of this date. The pattern is based on Java date and time patterns. |
Return Value
Date A date that represents this string based on the specified format. |