herman
2008-02-23 21:14:35 UTC
Hello,
I fill a TimeStamp field with a TDateTime value, but when I look with a
SQL explorer is seems it's allways a few seconds later then the loaded
value.
I use a TQuery TDataSetProvider TSQLDataSet
The code is like
dtNow := Now; (could be any date / time)
Edit;
FieldByName('aname').ASDateTime = dtNow;
Post;
ApplyeUpdates;
Does anyone know where my time difference comes from?
Thanks in advance
Herman
I fill a TimeStamp field with a TDateTime value, but when I look with a
SQL explorer is seems it's allways a few seconds later then the loaded
value.
I use a TQuery TDataSetProvider TSQLDataSet
The code is like
dtNow := Now; (could be any date / time)
Edit;
FieldByName('aname').ASDateTime = dtNow;
Post;
ApplyeUpdates;
Does anyone know where my time difference comes from?
Thanks in advance
Herman