Documentation
¶
Overview ¶
Package utctime provides functionality for displaying time.
Index ¶
Constants ¶
View Source
const ( Default = "2006-01-02 15:04:05.000" NoDelimiter = "20060102150405.000" Date8Num = "20060102" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UTCTime ¶
type UTCTime struct {
// contains filtered or unexported fields
}
func Parse ¶
Parse parses value as UTC. The layout defines the format by showing how the reference time.
If you need more information of layout, look document for time.Time#Parse.
func ParseLocaltime ¶
ParseLocaltime parses value as localtime.
func (UTCTime) Format ¶
Format returns a textual representation of the utc time value formatted according to layout.
func (UTCTime) FormatLocaltime ¶
FormatLocaltime returns a textual representation of the local time value formatted according to layout.
Click to show internal directories.
Click to hide internal directories.