Puas yog timestamps ib txwm UTC?
Puas yog timestamps ib txwm UTC?

Video: Puas yog timestamps ib txwm UTC?

Video: Puas yog timestamps ib txwm UTC?
Video: The 2020 Cadillac XT6 Sport is a Stylish 3-Row SUV 2024, Kaum ib hlis
Anonim

Unix daim ntawv teev sijhawm yog ib txwm nyob ntawm UTC (lwm lub npe hu ua GMT). Nws yog tsim nyog hais tias "ib Unix daim ntawv teev sijhawm hauv vib nas this", lossis "ib Unix daim ntawv teev sijhawm Ib txhia nyiam cov lus "milliseconds txij thaum Unix epoch (tsis hais txog leap vib nas this)".

Piv txwv li, yog lub sijhawm sijhawm hauv UTC?

5 Teb. UNIX timestamp (A. K. A. Unix's lub sijhawm ) txhais tau tias dhau lub vib nas this txij lub Ib Hlis 1st 1970 00:00:00 UTC (Universal Sijhawm ). Yog li, yog tias koj xav tau sij hawm hauv TimeZone tshwj xeeb, koj yuav tsum hloov nws.

Tsis tas li ntawd, kuv lub sijhawm UTC yog dab tsi?

Teb Chaws Asmeskas GMT / UTC Offsets
Lub Sijhawm Zone hauv Tebchaws Meskas UTC Offset Standard Time UTC Offset Hnub Teeb Txuag Sijhawm
Sab hnub tuaj UTC - 5 hnub UTC - 4 hnub
Central UTC – 6 h UTC - 5 hnub
Roob UTC - 7 hnub UTC - 6h * n/a rau Arizona tshwj tsis yog hauv Navajo Nation uas saib xyuas lub sijhawm txuag nruab hnub.

Cov lus nug tseem yog, lub sij hawm lub sij hawm puas muaj timezone?

Lub ntsiab txhais ntawm UNIX daim ntawv teev sijhawm yog lub sijhawm ywj siab. Cov daim ntawv teev sijhawm yog tus naj npawb ntawm vib nas this (lossis milliseconds) dhau los txij li qhov taw qhia meej hauv lub sijhawm, ib tag hmo ntawm Lub Ib Hlis 1 1970 hauv UTC lub sijhawm. Txawm koj lub sijhawm , a daim ntawv teev sijhawm sawv cev rau lub sijhawm uas zoo ib yam nyob txhua qhov chaw.

Koj hloov sijhawm UTC rau lub sijhawm hauv zos li cas?

Rau hloov 18 UTC hauv koj lub sijhawm hauv zos , rho tawm 6 teev, kom tau 12 CST. Thaum nruab hnub txuag (lub caij ntuj sov) sij hawm , koj tsuas rho tawm 5 teev, yog li 18 UTC yuav hloov rau 13 CDT. Los yog, cia peb hais tias koj nyob hauv Paris, Fabkis, uas yog nyob rau hauv Central European Sijhawm . Rau hloov 18 UTC hauv koj lub sijhawm hauv zos , ntxiv 1 teev, kom tau 19 CET.

Pom zoo: