I believe you are referencing datetime? If so, take a look at:
http://dev.mysql.com/doc/refman/5.0/en/datetime.html
YYYY-MM-DD HH:MM:SS
HTH,
Ryan
On 7/20/06, Xia __ <rebeccacannon@gmail.com>
wrote:>
> Just wandering if anyone can tell me how to format date when writing
> test data to upload to the db via a migration.
>
> ie, to match the date migration column format
>
> thanks
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Ryan Prins
rprins@gmail.com
http://www.lazyi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060721/f196282d/attachment.html