Connecting Tech Pros Worldwide Forums | Help | Site Map

Convert Julian Date to Date in MySql

Newbie
 
Join Date: Oct 2009
Posts: 1
#1: Oct 12 '09
I have Julian date, I want to convert it into date. Is there any function in MySql to convert Julian date to date

eg- Julian Date- 2455116
Date - Oct - 12, 2009

Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,748
#2: Oct 21 '09

re: Convert Julian Date to Date in MySql


Unfortunately not. MySQL has no such function yet. (See Bug 2585)

You are best of, at the moment, using your front-end code to convert between the two types.
PHP, for instance, has the jdtounix function, which converts Julian days into a Unix timestamp.
Reply


Similar MySQL Database bytes