Documentation ¶
Overview ¶
*
- Created by angelina-zf on 17/2/27.
Index ¶
Constants ¶
View Source
const ( FormatMysqlZero = "0000-00-00 00:00:00" FormatMysql = "2006-01-02 15:04:05" FormatMysqlUs = "2006-01-02 15:04:05.999999" FormatMysqlDate = "2006-01-02" FormatMysqlMinute = "2006-01-02 15:04" FormatMysqlMouthAndDay = "01-02" )
Variables ¶
This section is empty.
Functions ¶
func DateFormat ¶
DateFormat 格式化时间 MM - month - 01 M - month - 1, single bit DD - day - 02 D - day 2 YYYY - year - 2006 YY - year - 06 HH - 24 hours - 03 H - 24 hours - 3 hh - 12 hours - 03 h - 12 hours - 3 mm - minute - 04 m - minute - 4 ss - second - 05 s - second = 5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.