How to check a date against today

I’m looking for a function which produces the current date

eg. if account.expiry_date < getdate

‘getdate’ doesn’t seem to work.

anyone know what does?

On 10-jun-2006, at 23:39, John H. wrote:

I’m looking for a function which produces the current date

eg. if account.expiry_date < getdate

‘getdate’ doesn’t seem to work.

anyone know what does?

Please examine the standard library documentation

account.expiry_date < Date.today


Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl