select cast(to_char(current_timestamp, 'd') as integer)/5;
On 12/06/03, Michal Durys (joe@anime.com.pl) wrote:
> I'd like to convert timestamp and date fields to intergers.
> Unfortunately cast() says it's impossible:
--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>