Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeZoneTime ¶
ChangeZoneTime 根据时区获取用户的当地时间 fromTimeStr 原来的时间,如 "2000-10-10 10:00:00" fromZone 原来的时区,如 "Asia/Shanghai" toZone 目标时区,如 "UTC" layout 时间输入/输出格式,如 "2006-01-02 15:04:05"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.