Parse parses a formatted string and returns the time value it represents. The layout defines the format by showing how the reference time, defined to be
Mon Jan 2 15:04:05 -0700 MST 2006
would be interpreted if it were the value; it serves as an example of the input format. The same interpretation will then be made to the input string.
That means you cannot use an arbitrary date like “2005-03-04;" it has to be the “magic” value 2006-01-02 15:04:05.