From: Dave Thomas Date: 2000-03-04T23:08:08-06:00 Subject: [ruby-talk:01725] Re: strptime Quinn Dunkan writes: > My needs are very simple: parse a date/time, and then see if that > time has passed. After staring at the documentation and source of > date2 for a while, I still can't figure out how to do this. I'm > feeling real dumb around now... I've just been through a couple of days of staring at tis stuff so I can document it, so I feel your pain ;-) You could try something like: require "parsedate" include ParseDate Time.local(*parsedate(aStringDateTime)[0..5]) < Time.now (of course, you may need some error checking depending on the application, but the principle's the same) Regards Dave