description

# parse static method

DateTime parse(

1. String date

)

Parse a date string in either of the formats RFC-1123, RFC-850 or ANSI C's asctime() format. These formats are listed here.

- Thu, 1 Jan 1970 00:00:00 GMT
- Thursday, 1-Jan-1970 00:00:00 GMT
- Thu Jan 1 00:00:00 1970

For more information see RFC-2616 section 3.1.1.

## Implementation

    static DateTime parse(String date) =>
        _parse(date, 0, date.length, _invalidHttpDate);