Subject Re: [firebird-support] Extracting year, month, day, hour, etc...
Author Jerome Bouvattier
Hi heLen,

EXTRACT is what I was looking for.
Thanks !

> The EXTRACT() function works everywhere, if numbers are OK for you:

> EXTRACT ( {SECONDS | MINUTES | HOUR | DAY | MONTH |YEAR} FROM
> <date-time-value> ) [[AS] <field-name>]

--
Jerome