har*_*ari 3 c unix timestamp utc
让我们说这是时间戳: 2011-07-06T00:00:35.851-07:00
这告诉我什么?这就是我试图理解它的方式:
2011-07-06 - date
00:00:35 - hh:mm:ss
851 - micro seconds??
07:00 - what does that tell me?
Run Code Online (Sandbox Code Playgroud)
如果可能,我需要将其转换为UTC.
编辑0:感谢@RichieHindle和@Marc B的回复.我现在理解GMT偏移.我现在的问题是,我没有从getdate获得正确的价值.
据说它是2011年7月6日,格林威治标准时间-7时区午夜过去35.851秒.要转换为UTC(GMT-0时区),您需要添加7小时(-7 + 7 = 0),2011-07-06T07:00:35.851-00:00