year2038 Questions

7

Solved

I was thinking of using TIMESTAMP to store the date+time, but I read that there is a limitation of year 2038 on it. Instead of asking my question in bulk, I preferred to break it up into small part...
Disunion asked 6/1, 2010 at 11:36

6

Solved

I am of of the understanding that due to the nature that PHP represents dates using milliseconds, you cannot represent dates past 2038. I have a problem where I want to calculate dates far in the f...
Cholecystectomy asked 16/3, 2011 at 0:33

11

Solved

I would like to think that some of the software I'm writing today will be used in 30 years. But I am also aware that a lot of it is based upon the UNIX tradition of exposing time as the number of s...
Orbicular asked 30/8, 2008 at 18:42

3

Solved

I have a collection of unix timestamps I am converting to boost (1.65.1) dates but the conversions seem to break down when they get too far in the future. Anything around 2040 and beyond seems to b...
Tammara asked 20/5, 2019 at 14:48

0

I'm trying to port my 32-bit ARM architecture to 64-bit time values. Reading the answers from 64-bit time_t in Linux Kernel it tells me the following: All user space must be compiled with a 64-bit...
Senseless asked 8/6, 2021 at 8:24

2

I have compiled kernel 3.19.1 but still have a problem with time_t. Just a simple program with cout << sizeof (time_t); gives size of 4 bytes, not 8 bytes as was my intention. Should I switch...
Courtmartial asked 16/3, 2015 at 19:15

2

Solved

JSON Web Token is a fairly recent standard (May 2015) and yet they decided to go for UNIX timestamps in order to represent dates. Doesn't this expose the standard to a potential Year 2038 problem i...
Diffusive asked 11/3, 2018 at 13:35

1

I need to convert date time information from local time (gtm+1) to UTC using php (5.4) on Centos 7.4 64 bits I tried the following procedure : function convertToUtc ($date) { $dateTime = new Dat...
Ninetieth asked 23/4, 2018 at 9:17

5

Solved

As we know that all dates using Javascript Date constructor are calculated in milliseconds from 01 January, 1970 00:00:00 Universal Time (UTC) with a day containing 86,400,000 milliseconds. This im...
Hogen asked 14/11, 2013 at 14:42

2

Solved

I have some code for converting some timestamps stored as strings into datetime objects and noticed today exceptions when it converts dates with an int timestamp value greater than the max int. da...
Upstretched asked 14/5, 2012 at 17:14

6

Solved

I have a web app which orders stuff using a timestamp, which is just a long. My web app backend happens to be written in java, so I am using: long timestamp = System.currentTimeMillis(); what year...
Quintillion asked 4/6, 2010 at 23:45

2

Solved

I'm trying the recent std::chrono api and I found that on 64 bit Linux architecture and gcc compiler the time_point and duration classes are not able to handle the maximum time range of the operati...
Thallium asked 30/5, 2017 at 18:36

2

I convert all dates with DateTime (from UTC to Europe/Vienna) in my project. Now I have dates with above 2038, and cannot get the correct time. Example Code: $met = new DateTimeZone('Europe/Vienn...
Supertax asked 21/3, 2017 at 15:50

3

Solved

What is the proper way to handle times in C code for 32-bit embedded Linux (ARMLinux) to ensure that the code continues to work properly after 03:14:07 UTC on 19 January 2038 (when a signed 3...
Fluoroscope asked 26/1, 2016 at 14:20

2

I am trying to store in MySQL a date() field a successive date to the year 2037. For example: 2065-12-01 Problem is that the field is returning: 1969-12-31 What is the correct way to record thes...
Wanids asked 19/11, 2015 at 11:14

3

I would like to print or extract year/month/day values. I don't want to use time_t because of the year 2038 problem, but all examples I found on the Internet use it to convert time_point to tm. I...
Pneumodynamics asked 27/5, 2013 at 12:31

1

I'm building an Android application and the application enables the user to insert events to Google Calendar and external calendar (like Exchange account). The problem is that if the user wants t...
Tallula asked 16/6, 2015 at 21:40

5

Year 2038 Bug is all over the web, But this seems to be a unix issue. How will this affect java Date ?
Clumsy asked 30/11, 2010 at 12:24

4

Solved

I just found out, running a calendar script, that timestamps in PHP has a limit to 2038. What does it really mean? Why is it 2038 instead of 2050 or 2039? Why a limit if timestamps just count secon...
Carve asked 4/5, 2011 at 5:54

2

Solved

Will the php function time(); be functional after the year 2038?
Honorarium asked 28/4, 2011 at 23:25

3

Solved

The official Python 2.5 on Windows was build with Visual Studio.Net 2003, which uses 32 bit time_t. So when the year is > 2038, it just gives exceptions. Although this is fixed in Python 2.6 (whic...
Intransigent asked 8/5, 2009 at 13:19
1

© 2022 - 2024 — McMap. All rights reserved.