Time runs out for Linux in 2038, what then?

Many people know Linux time is stored in Seconds since 1970. This time field explodes around the year 2032 and can no longer be used. I’m considering writing a new app that tracks the time a file was last read in Android 7.1.1 which is using Linux Kernel 3.18.

I haven’t done any time (date) related programming / record keeping yet and I’m wondering if there is a new format of 64-bit integers or something I can use now. I would write backwards compatability function to the current 32-bit Seconds field currently used in Ubuntu.

Note this isn’t a question about Android which is off-topic. I’ll be developing my bash script in Ubuntu using Linux 4.14 or 5.3 which accesses Linux 3.18 used in Android via USB.

I know the time Linux blows up is still 19 years away, but I like to future-proof my stuff without having to change it later or to at least make future code changes easier. As I’ve been coding for over 30 years chances are good I’ll still love doing it 20 years from now.

Some examples from Wikipedia:

  • Windows: 1 January 1601 to 14 September 30,828
  • Unix and POSIX: 1 January 1970 to AD 292,277,026,596

I think the Unix and POSIX format to the year 292 billion will outlive the sun which means we’ll move off the earth by then and have a new calendar anyway. Plus odds are good my programs will be obsolete 292 billion years from now.

Where can I find the standard for future Linux Time format? Or at least the short list of proposed standards?

Do Advance Data Entry And Web search in your time for $10

Hello Sir, I’m very proficient and have valuable experience in Data Entry. I can very fast work and timely delivery. My Services List: 1.Web Research and data collecting 2. Online or Offline Data Entry 3.Data Mining 4.Copy-paste 5.Lead generation 6.Data Conversion 7.LinkedIn data collection 8.Company Name, address, mail, contact number 9.Companies Data Research for Business Development Purposes 10.Data collecting from the web Please contact me before ordering to confirm the requirements. i am active 16 hour in a day Can you Order with Confidence Thanks

by: Mdredoy
Created: —
Category: Data Entry
Viewed: 262


Calculate expense based on Start time and End time in lists

I have a visitor list with start-time and end-time and I need to assign expense based on visitor arrival and exit.

For Example:

  1. If start-time is at 7:30 AM and end-time 10:00 AM then expense against this visitor is 80 Rs.
  2. If start-time is at 10:00 AM and end-time 12:00 PM then expense against this visitor is 400 Rs.
  3. If start-time is at 7:30 AM and end-time 12:00 PM then expense against this visitor is 80+400=480 Rs, and so on.

Is this possible? If Yes, please enlighten me.

Thanks in advance.

I have tried with workflow variables with default values, 1st and 2nd points are achievable but the 3rd seems bit tricky. Sample workflow which was tried with time.. extracting time from date field

How do I communicate to my players that a door is, for the time being, absolutely locked to them?

I have a small dungeon in my campaign, a temple, that is a significant location for the broader story of my world. The players might very well enter this temple pretty early on in their adventuring. There is a door in this temple, however, that must remain securely locked from to all intruders until a much later date – this temple, particularly what lies inside the locked door, will come back as an important location in the future. Ideally, for now this door will evoke mystery and intrigue for my players. However, I am worried that my players will be convinced that the locked door is some type of puzzle. How do I effectively communicate that this door is 100% locked to them, something to be revisited at a later date? How do I stop my players from wasting excessive time guessing passwords and looking for keys?

This is a question that probably fits many tabletop rpgs, but if it matters, we are playing D&D 5e in an pretty standard medieval fantasy setting.

sharepoint 2013 Assign budget/expense based on Start time and End time in list

Can anyone help to solve the below..

Problem description: I have a visitor list with start-time and end-time, need to assign expense based on visitor arrival and exit/logout.

Eg; If start-time is at 7:30 AM and end-time 10:00 AM then budget/expense against this visitor is 200 Rs. INR.

If start-time is at 10:00 AM and end-time 12:00 PM then budget/expense against this visitor is 400 Rs. INR.

If start-time is at 7:30 AM and end-time 12:00 PM then budget/expense against this visitor is 200+400=600 Rs. INR.

and so on..for the entire day.

Need solution,

GOING BACK IN TIME [on hold]

I have been asked this question in some interview.

We need to build to go back in time. Implement a ticking clock which goes back in time, decremented by units specified (in hours). Application should accept 1 parameter type int ie. hours by which it should decrement time on the clock, and return a ticking clock.