Subject | Re: [firebird-support] Date literals |
---|---|
Author | Mark Rotteveel |
Post date | 2014-08-14T20:45:12Z |
On 14-8-2014 10:17, grenzhandel@... [firebird-support] wrote:
typing: DATE'yyyy-MM-dd'
Note that Firebird also supports some other local formats (like
MM-dd-yyyy, MM/dd/yyyy and dd.MM.yyyy), but I think it is better to
stick to ISO-8601.
Mark
--
Mark Rotteveel
> Hi, I'm in the progress of converting an existing application fromYou can use the ISO-8601 format: 'yyyy-MM-dd', optionally with explicit
> Sybase SQL (11.0.3 - from the stoneage) to Firebird.From Sybase (as well
> as some other databases I work with) I'm used to entering date literals
> as 'yyyymmdd'.I keep getting "Overflow occured during data type
> conversion".Is it true, that this date format isn't recognized by
> firebird?Which is the most common date format, can you recommend any
> format?Thanks Lutz
typing: DATE'yyyy-MM-dd'
Note that Firebird also supports some other local formats (like
MM-dd-yyyy, MM/dd/yyyy and dd.MM.yyyy), but I think it is better to
stick to ISO-8601.
Mark
--
Mark Rotteveel