Page 2 of 2

Re: Binary date to gregorian Date

PostPosted: Wed Nov 13, 2013 1:06 am
by Akatsukami
:roll: Do you know how to browse a data set displaying the data in hexadecimal?

Re: Binary date to gregorian Date

PostPosted: Wed Nov 13, 2013 1:18 am
by mail4rsb
Is this what you are referring too?

Ç5
6F
85
--
0N
FD
05
--
Åà
64
74
--
Åà
64
74
--
0N
FD
05
--

Re: Binary date to gregorian Date

PostPosted: Wed Nov 13, 2013 1:30 am
by Akatsukami
Well, these are certainly not ordinal (oft miscalled "Julian") dates. They could be reduced or Dublin Julian day numbers, but that leads to some rather odd interpretations. I don't think I care to draw this out any further.

Re: Binary date to gregorian Date

PostPosted: Wed Nov 13, 2013 1:53 am
by BillyBoyo
mail4rsb,

It may be possible in SORT, but since your input is non-standard, we'd need to know how to interpret those values. We'd need to know what the Assembler program is doing.

Re: Binary date to gregorian Date

PostPosted: Wed Nov 13, 2013 2:08 am
by dick scherrer
Hello,

Might this value just be the number of days from some fixed date in the past?

Re: Binary date to gregorian Date

PostPosted: Fri Nov 15, 2013 7:01 am
by steve-myers
Another idea that just occurred to me is the 16 bits are ordered like yyyyyyyddddddddd, where yyyyyyy is the year, though whether it starts in 1900, or so other year I won't try to guess, and ddddddddd is the day of year. This is just a variation on the method MS-DOS used to store the date in a directory entry. If my guess is correct, I doubt if sort can do the translation you want.