Documentation
¶
Index ¶
- Constants
- func GetGmtByCountryCode(countryCode string) int
- func GetLocalizedTimeNowByCountryCode(countryCode string) (time.Time, error)
- func GetStringLocalizedTimeNowByCountryCode(countryCode string) (string, error)
- func GetTimeNow(timeZone string) (time.Time, error)
- func GetTimeNowString(format, timeZone string, onlyDate bool) (string, error)
Constants ¶
View Source
const ( DateTimeTimeZoneFormat = "2006-01-02T15:04:05.000Z" DateFormat = "2006-01-02" DateTimeFormat = "2006-01-02 15:04:05" DateHourMinuteFormat = "2006-01-02 15:04" DateHourMinuteTimeZoneFormat = "2006-01-02T15:04" YearMonthFormat = "2006-01" )
Variables ¶
This section is empty.
Functions ¶
func GetGmtByCountryCode ¶ added in v1.0.8
func GetLocalizedTimeNowByCountryCode ¶ added in v1.0.7
func GetStringLocalizedTimeNowByCountryCode ¶ added in v1.0.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.