MySQL Forums
Forum List  »  Newbie

Re: select julian day from datetime field
Posted by: Anthony Willard
Date: November 12, 2007 04:05PM

You can also use the DATE_FORAMT() function.

SELECT DATE_FORMAT( some_date_var, '%y%j' )
FROM mytable;

Options: ReplyQuote


Subject
Written By
Posted
Re: select julian day from datetime field
November 12, 2007 04:05PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.