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. |
dateFormat | String A pattern that defines the format of this date. The pattern is based on Java date and time patterns. |
Date A date that represents this string based on the specified format. |