On 1/15/08, Dharshini Fernando
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> 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
--
Greg Donald
http://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---