Documentation ¶
Index ¶
- func GetMmDd(dStr string) (time.Time, error)
- func GetMmDdHhMm(dStr string) (time.Time, error)
- func GetMmDdHhMmSs(dStr string) (time.Time, error)
- func GetMmDdHhMmSsSss(dStr string) (time.Time, error)
- func GetYyyyMm(dStr string) (time.Time, error)
- func GetYyyyMmDd(dStr string) (time.Time, error)
- func GetYyyyMmDdHhMm(dStr string) (time.Time, error)
- func GetYyyyMmDdHhMmSs(dStr string) (time.Time, error)
- func GetYyyyMmDdHhMmSsSss(dStr string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMmDd ¶
GetMmDd returns time.Time with '01-02' format value,others location is default value.
func GetMmDdHhMm ¶
GetMmDdHhMm returns time.Time with '01-02 15:04' format value,others location is default value.
func GetMmDdHhMmSs ¶
GetMmDdHhMmSs returns time.Time with '01-02 15:04:05' format value,others location is default value.
func GetMmDdHhMmSsSss ¶
GetMmDdHhMmSsSss returns time.Time with '01-02 15:04:05.000' format value,others location is default value.
func GetYyyyMm ¶
GetYyyyMm returns time.Time with '2006-01' format value,others location is default value.
func GetYyyyMmDd ¶
GetYyyyMmDd returns time.Time with '2006-01-02' format value,others location is default value.
func GetYyyyMmDdHhMm ¶
GetYyyyMmDdHhMm returns time.Time with '2006-01-02 15:04' format value,others location is default value.
func GetYyyyMmDdHhMmSs ¶
GetYyyyMmDdHhMmSs returns time.Time with '2006-01-02 15:04:05' format value,others location is default value.
Types ¶
This section is empty.