How to convert to Julian DateTime

Please help me with this,

I want to convert a dateTime to Julian date format.. and vice versa..

strftime will help you format your datetime.

strptime will help you parse any oddly formatted strings into something useful.

http://www.ruby-doc.org/core/classes/Date.html

http://www.ruby-doc.org/core/classes/Time.html#M000297