xenium
asked on
Julian date conversion error
Hi,
I need to convert a Julian date in Excel that orginated in SAS, but am getting the wrong result by about 50 years. Example:
SAS Julian date: 12432
Represents: 14-Jan-1994
In excel by default this instead gives date 13-Jan-1934 (using TEXT(12432,"dd-mmm-yyyy")
How can i get Excel to return the required date of 14-Jan-1994 ?
Thanks!
I need to convert a Julian date in Excel that orginated in SAS, but am getting the wrong result by about 50 years. Example:
SAS Julian date: 12432
Represents: 14-Jan-1994
In excel by default this instead gives date 13-Jan-1934 (using TEXT(12432,"dd-mmm-yyyy")
How can i get Excel to return the required date of 14-Jan-1994 ?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yup.
Kevin
Kevin
ASKER
SAS is using a Julian base of 01-Jan-1960
This is 21916 days after the Excel base of 00-Jan-1900
Is this correct?