Subject | RE: [ib-support] Date Time routines |
---|---|
Author | Richard Pendered |
Post date | 2002-05-23T12:50:51Z |
Thank you all,
Rich P...
-----Original Message-----
From: Thomas Steinmaurer [mailto:ts@...]
Sent: 23 May 2002 13:01
To: ib-support@yahoogroups.com
Subject: RE: [ib-support] Date Time routines
Have a look on the EXTRACT keyword.
For example.
select EXTRACT(year from current_timestamp) from rdb$database
select EXTRACT(month from current_timestamp) from rdb$database
select EXTRACT(day from current_timestamp) from rdb$database
select EXTRACT(hour from current_timestamp) from rdb$database
select EXTRACT(minute from current_timestamp) from rdb$database
select EXTRACT(second from current_timestamp) from rdb$database
HTH,
Thomas Steinmaurer
IB LogManager 2.0 - The Logging Tool for Interbase/Firebird
http://www.iblogmanager.com
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Rich P...
-----Original Message-----
From: Thomas Steinmaurer [mailto:ts@...]
Sent: 23 May 2002 13:01
To: ib-support@yahoogroups.com
Subject: RE: [ib-support] Date Time routines
Have a look on the EXTRACT keyword.
For example.
select EXTRACT(year from current_timestamp) from rdb$database
select EXTRACT(month from current_timestamp) from rdb$database
select EXTRACT(day from current_timestamp) from rdb$database
select EXTRACT(hour from current_timestamp) from rdb$database
select EXTRACT(minute from current_timestamp) from rdb$database
select EXTRACT(second from current_timestamp) from rdb$database
HTH,
Thomas Steinmaurer
IB LogManager 2.0 - The Logging Tool for Interbase/Firebird
http://www.iblogmanager.com
> -----Original Message-----To unsubscribe from this group, send an email to:
> From: Richard Pendered [mailto:rpendered@...]
> Sent: Thursday, May 23, 2002 1:44 PM
> To: ib-support@yahoogroups.com
> Subject: [ib-support] Date Time routines
>
>
> Hi,
> I know the info is posted somewhere, but I can't seem to find it.
> How do I extract the year, month, day, hour, minute and second from a
> timestamp field in dialect 3 ?
> TIA
> Rich P...
>
>
> [Non-text portions of this message have been removed]
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/