Even range of dates showing results for pivotal_localtime_r()

Even range of dates showing results for pivotal_localtime_r()

Even range of dates showing results for localtime(),
pivotal_localtime_r(), and localtime64_r().

Values in red show invalid dates, green shows valid dates.

The useful range of dates of pivotal_localtime_r()
versus localtime() can be seen.

localtime() pivotal_localtime_r() localtime64_r()
--------------------------------------------------------------------------------------------
UTC = -4000000000 seconds
08-May-1979 00:21 08-May-1979 00:21 31-Mar-1843 17:53
01-Jun-1984 20:48 01-Jun-1984 20:48 25-Apr-1848 14:20
27-Jun-1989 17:14 27-Jun-1989 17:14 21-May-1853 10:46
23-Jul-1994 13:41 23-Jul-1994 13:41 16-Jun-1858 07:13
18-Aug-1999 10:08 18-Aug-1999 10:08 12-Jul-1863 03:40
12-Sep-2004 06:34 12-Sep-2004 06:34 06-Aug-1868 00:06
08-Oct-2009 03:01 08-Oct-2009 03:01 31-Aug-1873 20:33
02-Nov-2014 22:28 02-Nov-2014 22:28 26-Sep-1878 16:00
28-Nov-2019 18:54 28-Nov-2019 18:54 22-Oct-1883 12:26
23-Dec-2024 15:21 23-Dec-2024 15:21 16-Nov-1888 08:53
18-Jan-2030 11:48 18-Jan-2030 11:48 12-Dec-1893 05:20
13-Feb-2035 08:14 13-Feb-2035 08:14 07-Jan-1899 01:46
02-Feb-1904 22:13 10-Mar-2040 04:41 02-Feb-1904 22:13
27-Feb-1909 18:40 05-Apr-2045 02:08 27-Feb-1909 18:40
25-Mar-1914 15:06 30-Apr-2050 22:34 25-Mar-1914 15:06
20-Apr-1919 12:33 26-May-2055 19:01 20-Apr-1919 12:33
15-May-1924 09:00 20-Jun-2060 15:28 15-May-1924 09:00
10-Jun-1929 05:26 16-Jul-2065 11:54 10-Jun-1929 05:26
06-Jul-1934 01:53 11-Aug-2070 08:21 06-Jul-1934 01:53
31-Jul-1939 22:20 31-Jul-1939 22:20 31-Jul-1939 22:20
25-Aug-1944 19:46 25-Aug-1944 19:46 25-Aug-1944 19:46
20-Sep-1949 15:13 20-Sep-1949 15:13 20-Sep-1949 15:13
16-Oct-1954 10:40 16-Oct-1954 10:40 16-Oct-1954 10:40
11-Nov-1959 07:06 11-Nov-1959 07:06 11-Nov-1959 07:06
06-Dec-1964 03:33 06-Dec-1964 03:33 06-Dec-1964 03:33
UTC = 0 seconds
01-Jan-1970 01:00 01-Jan-1970 01:00 01-Jan-1970 01:00
26-Jan-1975 20:26 26-Jan-1975 20:26 26-Jan-1975 20:26
21-Feb-1980 16:53 21-Feb-1980 16:53 21-Feb-1980 16:53
18-Mar-1985 13:20 18-Mar-1985 13:20 18-Mar-1985 13:20
13-Apr-1990 10:46 13-Apr-1990 10:46 13-Apr-1990 10:46
09-May-1995 07:13 09-May-1995 07:13 09-May-1995 07:13
03-Jun-2000 03:40 03-Jun-2000 03:40 03-Jun-2000 03:40
UTC = time of writing
29-Jun-2005 00:06 29-Jun-2005 00:06 29-Jun-2005 00:06
24-Jul-2010 20:33 24-Jul-2010 20:33 24-Jul-2010 20:33
19-Aug-2015 17:00 19-Aug-2015 17:00 19-Aug-2015 17:00
13-Sep-2020 13:26 13-Sep-2020 13:26 13-Sep-2020 13:26
09-Oct-2025 09:53 09-Oct-2025 09:53 09-Oct-2025 09:53
04-Nov-2030 05:20 04-Nov-2030 05:20 04-Nov-2030 05:20
30-Nov-2035 01:46 30-Nov-2035 01:46 30-Nov-2035 01:46
UTC = 231 - 1
18-Nov-1904 15:45 24-Dec-2040 22:13 24-Dec-2040 22:13
14-Dec-1909 12:11 19-Jan-2046 18:40 19-Jan-2046 18:40
09-Jan-1915 08:38 14-Feb-2051 15:06 14-Feb-2051 15:06
04-Feb-1920 05:05 11-Mar-2056 11:33 11-Mar-2056 11:33
01-Mar-1925 01:31 06-Apr-2061 09:00 06-Apr-2061 09:00
26-Mar-1930 21:58 02-May-2066 05:26 02-May-2066 05:26
21-Apr-1935 19:25 28-May-2071 01:53 28-May-2071 01:53
16-May-1940 15:51 16-May-1940 15:51 21-Jun-2076 22:20
11-Jun-1945 13:18 11-Jun-1945 13:18 17-Jul-2081 18:46
07-Jul-1950 08:45 07-Jul-1950 08:45 12-Aug-2086 15:13
02-Aug-1955 05:11 02-Aug-1955 05:11 07-Sep-2091 11:40
UTC = +4000000000 seconds

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s