From: Phrogz Date: 2007-03-01T03:05:06+09:00 Subject: Re: ruby datetime to mysql On Feb 28, 10:55 am, peter wrote: > I need to make a string that {#date} is the format that mysql uses, See the (confusingly-tersely-named) Time#strftime method. It will let you create whatever format you want. You can even wrap it in your own method, like: class Time def as_mysql strftime "..." end end