V
Vapor ..
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?
simple date. How can I get only date from it?
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?
Gavin said: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...
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.