this should be

```Python
date = sunpy.time.parse_time(date)
```