Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5940267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:56:41+00:00 2026-05-22T15:56:41+00:00

Given some short integers and the dates they represent, is there any systematic method

  • 0

Given some short integers and the dates they represent, is there any systematic method to determine how they’re stored in this format and decode other dates? The data stored is from another piece of software.

I initially thought that the days were represented by one of the bytes, since the first byte for May 1 minus the first byte for Feb 11 did equal the correct number of days (79 for year 2011). But it can’t be that simple, not only because 8 bits can only store 256 days, but also because dates before 2000 store the year only, with both bytes.

Here’s what I’m working with, but take the column headings with a grain of salt.

DDDDDDDD YYYYYYYY DD-MM-YY
01011010 10001010 1955
10110010 10010001 1960
11000000 10010001 1961
11100011 11000011 1996
01010001 11000110 1997
00001101 11001000 1999
10000000 11001001 10-02-00
11010101 11001010 16-01-01
10101010 11001101 11-01-03
00000101 11010000 05-09-04
10011101 11010101 07-08-08
11010000 11010101 27-09-08
00010000 11010110 30-11-08
00110100 11010110 05-01-09
11111110 11010110 26-07-09
10011101 11010111 01-01-10
10110111 11011000 10-10-10
00110011 11011001 11-02-11
00111010 11011001 18-02-11
10000010 11011001 01-05-11
10000101 11011001 04-05-11
01101100 11100110 19-05-20

I also see that 30-11-08 has the same second byte as 05-01-09, and conversely the two dates in 2010 have different values in the second byte.

EDIT: Thanks to the answers and some research, I see that the epoch is November 17, 1858. This is a standard format called the Modified Julian Day.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T15:56:41+00:00Added an answer on May 22, 2026 at 3:56 pm

    It looks like it’s days since some point in the past ~1858 (I haven’t worked out all the leap year magic), but the day of year is only displayed in your existing app for years >= 2000. The byte you marked year is the high order byte while the “day” byte is the low order byte.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a script which, given an ID, kicks off some complex processes and
Suppose that you're given an array A of n distinct elements drawn from some
EDIT : Summary : Git does not allow dates before 1973/03/03 09:46:40 (epoch+100000000s) given
I have DateTime structure for an old data format that I don't have access
i am using VS 2010 to develop a site that gets some data from
Say I have a list of integers, where each element is a number from
I am using VB.NET and I am trying to come up with some algorithm
My understanding of this is as follows. In C, the ! operator returns 0
I encounter a problem when try to match a short bit pattern in a
When an example of an object owning many children is given with a document

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.