Phrogz
12/9/2007 7:03:00 PM
On Dec 9, 3:21 am, "Vapor .." <vaqas.ash...@gmail.com> wrote:
> I have a field in db with datetime format and it contains more than just
> simple date. How can I get only date from it?
What does your format look like?
What database are you using?
How are you connecting Ruby to the database? Are you using
ActiveRecord? Something else?
Do you already have instances of a Ruby Time class? DateTime class?
Do you want an instance of a Date class? Do you just want to visually
display the date only information?
More information required...