Thursday, April 5, 2007

How to get a date...

No this is not a dating service!

Today we will cover the proprietary date format that is used in most of the files in E1.

Well, let's just dive in...

Today's date is 4-5-2007. In E1-land that is 107095.

Here's the breakdown:

  • E1 Date: 107095
    • Year: 1900 + 107 = 2007
    • Date: 095
      • The 95th day of the year (2007) = April 5th
    • Complete Date: April 5th 2007
Hey! What about the time?
  • E1 Time: 90154
    • 9:01:54 AM
  • E1 Time: 210154
    • 21:01:54 = 9:01:54 PM
Here is a page I put together that uses javascript to retrieve the dates.

0 comments: