Subject | Re: Date, Time, TimeStamp Format/Separator ... |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2004-04-15T12:21:48Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies" >
DATE: 'YYYY-MM-DD'
TIME: 'HH:MM:SS.mmmm'
TIMESTAMP: 'YYYY-MM-DD HH:MM:SS.mmmm'
Milliseconds (.mmmm) are optional.
Regards,
Fabrice
>Or use the standard SQL-92 format:
> Well, there are several ways to do this - probably the easiest
> is to use parameters for your date/time/datetime values:
>
> WHERE ... = :MyDateTimeParam
>
> This way, you don't have to bother about locales.
>
> Alternatively, use the English style:
>
> WHERE ... = 'mm/dd/yyyy'
DATE: 'YYYY-MM-DD'
TIME: 'HH:MM:SS.mmmm'
TIMESTAMP: 'YYYY-MM-DD HH:MM:SS.mmmm'
Milliseconds (.mmmm) are optional.
Regards,
Fabrice
> With regards,MS SQL
>
> Martijn Tonies
> Database Workbench - developer tool for InterBase, Firebird, MySQL &
> Server.
> Upscene Productions
> http://www.upscene.com