enirehtac
V2EX  ›  问与答

为什么时间出现bug都是显示1970-1-1 08:00?

  •  
  •   enirehtac · Aug 2, 2013 · 5596 views
    This topic created in 4709 days ago, the information mentioned may be changed or developed.
    微博和QQ消息发送时间出问题都显示为1970-1-1 08:00,什么原理?
    3 replies    1970-01-01 08:00:00 +08:00
    manhere
        1
    manhere  
       Aug 2, 2013 via Android   ❤️ 1
    unix timestamp起点
    justfindu
        2
    justfindu  
       Aug 2, 2013   ❤️ 1
    因为他这个时间是从1970-1-1 00:00:00开始算的~ 但是你又是在中国,而且它服务器就是设定时间区域为中国~ 所以是8点~
    hourui
        3
    hourui  
       Aug 2, 2013
    沙发正解
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5384 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 08:50 · PVG 16:50 · LAX 01:50 · JFK 04:50
    ♥ Do have faith in what you're doing.