Subject | Re: Date, Time, TimeStamp Format/Separator ... |
---|---|
Author | Dimitrios Chr. Ioannidis |
Post date | 2004-04-15T09:20:29Z |
Hi Martijn,
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
I want to construct a sql query through code ( Delphi ). But
because the client's are in varius locales (Greek, English,
Bulgarian, Romanian ) different from the server locale i need a
universal way of constructing the date field or the time field or
the timestamp. Else i get an error message ... You
know '...transliterate blablabla ...'.
Thx,
--
Dimitrios Chr. Ioannidis
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
> Hi,Maybe i wasn't clear enough :)
>
> > how can i get the active date, time, timestamp format and
> > separator with sql ?
> >
> > i.e. dd/mm/yyyy or mm/dd/yyyy with separator '/'
> > or mm.dd.yyyy with separator '.' etc
>
> SELECT CURRENT_TIMESTAMP, CURRENT_TIME,
> CURRENT_DATE
>
> FROM RDB$DATABASE
>
> The separator is a client side display thingy.
I want to construct a sql query through code ( Delphi ). But
because the client's are in varius locales (Greek, English,
Bulgarian, Romanian ) different from the server locale i need a
universal way of constructing the date field or the time field or
the timestamp. Else i get an error message ... You
know '...transliterate blablabla ...'.
Thx,
--
Dimitrios Chr. Ioannidis