Subject | Re: [firebird-support] Is this the only way to crete a date string in native FB? |
---|---|
Author | Milan Babuskov |
Post date | 2009-06-10T09:08:27Z |
Bhavbhuti Nathwani wrote:
representation on the client side, in your application. But, if you
really need to, there are various options listed here:
http://www.firebirdfaq.org/faq314
HTH
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com
> I am using the following (partial) code to get a string of a date from a datetime field:It would be best retrieve dates as dates and create a string
> ' dtd. ' || CAST (EXTRACT(DAY from tPS.tDt) AS CHAR(2)) || '/' || CAST (EXTRACT(MONTH from tPS.tDt) AS CHAR(2)) || '/' || CAST (EXTRACT(YEAR from tPS.tDt) AS CHAR(4))
>
> Is there a better way to do this?
representation on the client side, in your application. But, if you
really need to, there are various options listed here:
http://www.firebirdfaq.org/faq314
HTH
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com