parse(input: string, baseDate?: Date): undefined | Date
Parses the given string to date, if possible.
example
newix.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").parse("2021-01-01T20:55:43.000Z");// returns a Date object `Fri Jan 01 2021 20:55:43 GMT+0100 (Central European Standard Time)`
This is a
java.text.SimpleDateFormat
wrapper for Moment.js.