Yuniks tɛmstamp
Aw many sɛkɔn na frɔm 1.1.1970? Fɛn ɔut ɛn kɔnvɔyt Epoch Posix tɛm ɔnlayn.
Si ɔmɔs sɛkɔn dɔn pas frɔm Janwari 1970. Dis na Yuniks tɛmstamp we dɛn de yuz bɔku bɔku wan na kɔmpyuta sayɛns.
Yuniks tɛmstamp we de naw
Kɔnvɔyt bitwin Yuniks tɛmstamp ɛn de tɛm
Intrestin kwɛstyɔn ɛn ansa dɛn bɔt Yuniks tɛmstamp
Wetin na Yuniks tɛmstamp?
Wetin na "lip sɛkɔn"?
Wetin na Yuniks?
Ɔndastand Yuniks Taymstamp: Di Nyumɛrik Bakbon fɔ Trak Taym na Kɔmpyuta Sistɛm
Yuniks tɛmstamp na nɔmba ripreshɔn fɔ wan patikyula mɔnt insay tɛm. Dɛn kin yuz am fɔ trak di de ɛn tɛm we tin apin na kɔmpyuta sistɛm, ɛn bɔku tɛm dɛn kin kip am as sayn intaj valyu we de sho di nɔmba fɔ di sɛkɔn dɛn we dɔn pas frɔm di Yuniks ɛpok. Di Yuniks epoch na di pɔynt in tɛm we dɛn sɛt di Yuniks tɛmstamp to 0, ɛn dɛn kin jɔs tek am se na midnayt pan Janwari 1, 1970, Kɔdinɛt Yunivasal Taym (UTC).
Di Yuniks tɛmstamp na sɔntin we dɛn kin yuz fɔ mek kɔmpyuta program, mɔ we dɛn de mek wɛb, fɔ sho di rayt de ɛn tɛm we sɔntin apin ɔ akshɔn apin. Fɔ ɛgzampul, dɛn kin yuz Yuniks tɛmstamp fɔ ripresent di tɛm we pɔsin du wan patikyula akshɔn na wɛbsayt, ɔ fɔ trak di de ɛn tɛm fɔ wan transakshɔn na wan database.
Wan pan di bɛnifit dɛn we yu go gɛt we yu yuz Yuniks tɛmstamp na dat i izi fɔ chenj am to de ɛn tɛm fɔmat we mɔtalman go ebul fɔ rid. Dis kin fayn we yu de sho di tɛmstamp to di wan dɛn we de yuz am, ɔ we yu de kɔmpia di tɛmstamp fɔ no di tɛm difrɛns bitwin tu tin dɛn we apin. Fɔ kɔnvɔyt Yuniks tɛmstamp to de ɛn tɛm we mɔtalman kin rid, programma kin yuz wan fɛnshɔn ɔ laybri we ebul fɔ kɔnvɔyt di tɛmstamp to di fɔmat we i want.
Apat frɔm we dɛn de yuz am fɔ mek kɔmpyuta program, dɛn kin yuz di Yuniks tɛmstamp bak pan ɔda tin dɛn lɛk kriptografi ɛn nɛtwɔk sikyɔriti. Fɔ ɛgzampul, dɛn kin yuz Yuniks tɛmstamp as pat pan dijital sayn fɔ chɛk if wan dɔkyumɛnt ɔ mɛsej na tru.
Ɔl togɛda, di Yuniks tɛmstamp na wan tin we dɛn kin yuz fɔ trak ɛn ripresent di de ɛn tɛm dɛn na kɔmpyuta sistem dɛn we dɛn kin yuz bɔku say dɛn ɛn we dɛn kin yuz bɔku say dɛn. I simpul nɔmba ripreshɔn ɛn izi kɔnvɔtibiliti de mek am fayn fɔ pik fɔ bɔku aplikeshɔn dɛn.
Ɔndastand UTC: Di Globɛl Taym Stɛndad We De Kip Di Wɔl In Sink
Yunivasal sinkrɔns tɛm (ɔ UTC), we dɛn bin de kɔl Kɔdinɛt Yunivasal Taym (ɔ UTC), na di praymar tɛm standad we dɛn kin yuz fɔ avieshɔn, di ɔtomotiv industri, ɛn di sayɛns ɛn tɛnki kɔmyuniti dɛn. Dɛn kin yuz UTC bak na skul, gɔvmɛnt ɛn biznɛs fɔ mek dɛn sistɛm dɛn de rɔn pan di sem schedule. Ɛni rijyɔn kin pik in yon de ɛn tɛm ɔfset frɔm UTC. Ɛvride, dɛn kin ɔpdet UTC na 3 oklɔk mɔnin Pasifik Stɛndad Taym (PST) te to 6 oklɔk na nɛt PST.
Di akkuracy fɔ wan kɔmpyutayt UTC tɛmstamp na den ± 0.9 sɛkɔn we dɛn avɛrej am ova 30 minit tɛm. Dɛn kin ad wan lip sɛkɔn to di kalenda ɛvri sɔm ia fɔ mek dɛn nɔ chenj di lɔng we di ia de we di wɔl de rɔn. Rijyɔn dɛn de bak we dɛn kɔl tɛm zon we de bay difrɛn siti ɔ tɔŋ dɛn. Di praymar tɛm zon gɛt di nem Grinwich.
Dɛn de difayn di tɛm zon dɛn bay aw fa di rijyɔn de frɔm di praymɛnt mɛridian. Fɔ ɛgzampul, Nɔt Amɛrika gɛt 12 tɛm zon dɛn bay aw fa dɛn de frɔm Nɔt Amɛrika Istan Praymɛnt Mɛridian (EPIM). Di praymari tɛm zon gɛt di nem Grinwich, afta di Royal Grinwich Obsavatori na Lɔndɔn usay di praymɛnt merthing bin de bifo dɛn pwɛl di ɔbzhɔvatori insay Wɔl Wɔ Tu. Di praymari tɛm zon de wok lɛk bɛnchmak fɔ ɔda zon dɛn ɛn i de difayn ɔlman in wok awa ɛvride. Di men difrɛns bitwin praymari ɛn sɛkɔndari tɛm zon na dat sɛkɔndari zon de bitwin 2 ɛn 13 digri ɔf di praymɛnt mɛridian- so, dɛn ɔfset zon ya bɛtɛ fɔ ivintɛm ɛnjɔymɛnt ɔ fɔ du biznɛs.