The time package provides functions to determine the display time. The Parse() function is used to parse a formatted string and then find the time value it forms.
func Parse(layout, value string) (Time, error)