I have a table that contains a column TimeStamp.
When retrieving this table in a DOA dataset I get a conversion error. After some investigation it seems that the time is not converted correctly.
DD := EncodeDate(Year, Month, Day) + EncodeTime(Hour, Min, Sec, Round(FSec / 1000000));
In this piece of code 'Round(FSec / 1000000)'
results in 1000 which is not a valid argument for EncodeTime.
Is there something wrong with the value in my column or is this a DOA problem??
Thanks in advance
When retrieving this table in a DOA dataset I get a conversion error. After some investigation it seems that the time is not converted correctly.
DD := EncodeDate(Year, Month, Day) + EncodeTime(Hour, Min, Sec, Round(FSec / 1000000));
In this piece of code 'Round(FSec / 1000000)'
results in 1000 which is not a valid argument for EncodeTime.
Is there something wrong with the value in my column or is this a DOA problem??
Thanks in advance