Gets the time zone offset 得到时区被抵销 ; 获取时区偏移
The date in GMT and the time zone offset.
日期(格林尼治标准时间)与时区偏差。
An offset is simply the difference between UTC and local time, whereas the time zone is a named set of rules describing how the offset changes over time.
偏移量仅仅是UTC和本地时间之间的差值,而时区则是一个具名的规则集合,描述了偏移量该如何随着时间的变化而变化。
Even worse, many callers don't know their offset from GMT, so you're faced with supporting time zones, time zone abbreviations, daylight savings time... the list can get long and unwieldy.
甚至可能更糟的是,很多呼叫者并不知道自己所在地与GMT的时差,因此您要面临提供时区、时区缩写、夏令时……那将是一个冗长烦琐的列表。
应用推荐