func (d *dateVar) Set(v string) error {
	t, err := time.Parse(dateFormat, v)
	if err != nil {
		return err
	}
	d.Time = t
	return nil
}
// Set is the method to set the flag value, part of the flag.Value interface.
Set is the method to set the flag value, part of the flag.Value interface.
// Set is the method to set the flag value part of the flag . Value interface .
func (d *dateVar) Set(v string) error {
	t, err := time.Parse(dateFormat, v)
	if err != nil {
		return err
	}
	d.Time = t
	return nil
}
func ( d * dateVar ) Set ( v string ) error { t , err := time . Parse ( dateFormat , v ) if err != nil { return err } d . Time = t return nil }
Set is the method to set the flag value, part of the flag.Value interface.
Set is the method to set the flag value part of the flag . Value interface .