Subject | Re: Inserting a date in Firebird |
---|---|
Author | Svein Erling |
Post date | 2004-01-09T08:44:56Z |
> In short, if I format my date in the format "mm/dd/yyyy", howSimply pass it as a date, not a string. E.g.
> would I insert this date into a table, making sure the date is
> correctly interpreted by the database?
Something.FieldByName('YourDateField').AsDateTime:=StringToDate(...);
HTH,
Set
- I support Firebird, I am a FirebirdSQL Foundation member.
- Join today at http://www.firebirdsql.org/ff/foundation