On Feb 28, 10:55 am, peter <r... / iwebsl.com> 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