Are you using Time.now to assign the time?

On Jan 21, 7:44 pm, Zhao Yi <[email protected]> wrote:
> I defines a table and one of its column type is Time. I use ruby Time
> class to assign the value to this column, but it always generate Sat Jan
> 01 2000 time. Is the format different with the database and ruby class?
> I use MySql database in Linux.
> --
> Posted viahttp://www.ruby-forum.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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to