To format the time, we use the Format() method that formats a time.Time object.
func (t Time) Format(layout string) string