Subject | Re: [firebird-support] Extract seconds from timestamp |
---|---|
Author | Lester Caine |
Post date | 2016-01-06T17:52:38Z |
On 06/01/16 08:37, 'Bogdan' bogdan@... [firebird-support] wrote:
Check the notes;)
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
> I wonder if this is an error or sql srandard:http://www.firebirdsql.org/refdocs/langrefupd21-intfunc-extract.html
>
> select cast(extract(second from cast('12.12.2016 23:59:59:9000' as
> timestamp)) as integer) from rdb$database
Check the notes;)
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk