CODE‎ > ‎GAE‎ > ‎

GAE時區

from datetime import datetime, timedelta

def now():
  return datetime.utcnow() + timedelta(hours=+8)

只要調用now() 就可以了
Comments