date_part, how to use - Mailing list pgsql-sql

From juerg.rietmann@pup.ch
Subject date_part, how to use
Date
Msg-id OFDC452099.4848EA7C-ONC1256BB9.0033CAEB-C1256BB9.003429AB@pup.ch
Whole thread Raw
Responses Re: date_part, how to use
List pgsql-sql
Hello there

How can I extract the date part from a timestamp ? Thanks for any help !

select * from transport_log
where
tpl_status != '0' and
tpl_zylinder LIKE <cfif '#session.filter_zid#' EQ ''> '%' <cfelse> '
#session.filter_zid#%' </cfif> and
datepart('dd.mm.yyyy',tpl_start_timestamp) > <cfif '
#session.filter_FromDate#' EQ ''> '01.01.1900' <cfelse> '
#session.filter_FromDate#' </cfif>
order by tpl_transport


Regards ... jr

__________________________________________________

PFISTER + PARTNER, SYSTEM - ENGINEERING AG
Juerg Rietmann
Grundstrasse 22a
6343 Rotkreuz
Switzerland

internet          :  www.pup.ch
phone       : +4141 790 4040
fax         : +4141 790 2545
mobile            : +4179 211 0315
__________________________________________________




pgsql-sql by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: order by
Next
From: "Frank Morton"
Date:
Subject: sort text field numerically