Solved

julian dates conversion

Posted on 2013-01-22
4
890 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

734 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