Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a40133044cf0eddd

Jump to content

Talk:Unix time/Archives/2023

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Latest comment: 3 years ago by Guy Harris in topic Need a clarification

Need a clarification

Extracted from article:

Unix time is currently defined as the number of seconds which have passed since 00:00:00 UTC on Thursday, 1 January 1970, which is referred to as the Unix epoch. Unix time is typically encoded as a signed integer.[1]

[1] refers to "single-unix-spec-4.16"

↑↑ could someone refine here above and here below statement? ref. [1] - does not stipulate that Unix time is typically encoded as a signed integer. Instead it emphasizes: If the year is <1970 or the value is negative, the relationship is undefined. ...   ↓↓  

The Unix time 0 is exactly midnight UTC on 1 January 1970, with Unix time incrementing by 1 for every non-leap second after this.

Daniel exb (talk) 22:35, 30 August 2023 (UTC)

The Single UNIX Specifcation does not, as far as I can tell, require that the time be epresented as a signed integer, but it does allow it and, in practice, most if not all UN*Xes have time_t as a signed type. I've moved the reference after the first of the sentences you quoted, so it only applies to the definition of Unix time, not to the claim that it's typically encoded as a signed integer. Guy Harris (talk) 23:09, 30 August 2023 (UTC)