On Sep 10, 10:03 am, Phlip <phlip2... / gmail.com> wrote:
> joep wrote:
> > I am writing a small piece that will include a date that needs to be
> > compared to the current time.
>
> > EX. a = Time.now
> >       b = db_cert_date + (72 months)
>
> Rails's ActiveSupport package lets you say some_date + 72.months. It's that
> simple; the secret unit of exchange is probably seconds.
>
> If this were Brand X, using another platform's low-level library would be
> eternal torment, but this is Ruby, so just try require 'active_support'!
>
> --
>  Phlip

Only problem is I'm not using rails. Just straight ruby as a cgi.