Solved

julian dates conversion

Posted on 2013-01-22
4
884 Views
Last Modified: 2013-02-03
I saved data from sql 2008 directly to excel 2010, i need to convert the julian dates to calendar dates, but the formulas I have found are giving me the incorrect date.

=DATE(YEAR("01/01/"&TEXT(1900+INT(A2/1000),0)),MONTH("01/01/"&TEXT(1900+INT(A2/1000),0)),DAY("01/01/"&TEXT(1900+INT(A2/1000),0)))+MOD(A2,1000)-1

this should work, I am posting a file with the results attached

I have attached the file, am I missing a setting in excel 2010?
Book2-1-.xlsx
0
Comment
Question by:Amanda Walshaw
  • 2
4 Comments
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 38807266
What is the first date 734870?

Kevin
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 400 total points
ID: 38807278
I think it's based on 1 AD which would mean the formula is:

=A1-693594

See attached.

Kevin
Dates.xlsx
0
 
LVL 92

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 100 total points
ID: 38807357
Strictly speaking, "Julian Date" refers to the count of days since January 1, 4713 BC

People often assign different meanings to the term, however.

To answer your question properly, we would need to know what zero signifies in your date scheme (it would be enough to take one of the values, and say what you would translate it to in the Gregorian calendar).

Of course, if Kevin's guess is right, then your question is answered :)
0
 

Author Comment

by:Amanda Walshaw
ID: 38807423
I kevin this worked, thanks 734870 is 2/1/2013
thankyou mathew for your input
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question