Subject | RE: [firebird-support] Converting dates and the ISO-8601 format |
---|---|
Author | |
Post date | 2018-11-10T01:27:10Z |
Yeah thanks Alan - I am currently using something similar..
extract(day from COLLECT_DELIVER_DATE)||'/'||extract(month from COLLECT_DELIVER_DATE)||'/'||extract(year from COLLECT_DELIVER_DATE) as COLLECT_DELIVER_DATE
Just a bit "wordy" / "verbose" and a bit shocked that you have to go to those lengths to simply format a date field tbh ![](https://ec.yimg.com/ec?url=https%3A%2F%2Fs.yimg.com%2Fok%2Fu%2Fassets%2Fimg%2Femoticons%2Femo4.gif&t=1542295096&sig=8jC7H8s080CkrQqtrxOTGA--~D)
![](https://ec.yimg.com/ec?url=https%3A%2F%2Fs.yimg.com%2Fok%2Fu%2Fassets%2Fimg%2Femoticons%2Femo4.gif&t=1542295096&sig=8jC7H8s080CkrQqtrxOTGA--~D)
As Helen suggests, I will ask in the PhP forum(s) and see if there is not some magic switch / setting that I am missing to do this "out of the box" or alternatively - a custom library perhaps (though I am loathe to introduce custom DLL;s as it complicates installation.)
Thanks for the feedback..
Cheers!