472,098 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,098 software developers and data experts.

Convert Julian Date to Date in MySql

1
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
Oct 12 '09 #1
1 9347
Atli
5,058 Expert 4TB
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.
Oct 21 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Raja | last post: by
1 post views Thread by Sam | last post: by
3 posts views Thread by news.microsoft.com | last post: by
1 post views Thread by simchajoy2000 | last post: by
4 posts views Thread by Bit byte | last post: by
4 posts views Thread by IsdWeb | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.