所以最好的方法是内部使用datetime对象,需要时进行时区转换,然后再输出。 时区转换: >>> utc = pytz.utc >>> n = datetime.datetime.now(tz)
確定! 回上一頁