Preparing search index...
The search index is not available
@lzwme/fe-utils
@lzwme/fe-utils
index
getDateTimeByTimeZone
Function getDateTimeByTimeZone
getDateTimeByTimeZone
(
timeZone
?:
number
,
now
?:
Date
)
:
Date
按指定时区取得当前时间
Parameters
timeZone
:
number
= 0
指定的时区,默认为 0(北京市+8,美国华盛顿 -5)
now
:
Date
= ...
指定的时间对象,默认为当前浏览器获取的时间 new Date()
Returns
Date
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@lzwme/fe-utils
Loading...
按指定时区取得当前时间