NSLog(
@"\nlocalTimeZone = [%@]\nDisplay = [%@]\nGMT = [%d] hours",
[NSTimeZone localTimeZone],
[[NSTimeZone localTimeZone] name],
(int)[[NSTimeZone localTimeZone] secondsFromGMT] / 60 /60
);
localTimeZone = [Local Time Zone (Asia/Taipei (GMT+8) offset 28800)]
Display = [Asia/Taipei]
GMT = [8] hours
沒有留言:
張貼留言