Using TIdDateTimeStamp.SetFromTDateTime(), the resulting date is one day, one
month and one year ahead. This is because LocalDateTimeToTimeStamp() calls
TIdDateTimeStamp.Zero(), which sets day=1, year=1, and then calls the various
TIdDateTimeStamp.Add...() methods to increment the timestamp fields. It should
just assign the fields directly after decoding the TDateTime values.
Original issue reported on code.google.com by gambit47 on 18 Apr 2011 at 7:06
Original issue reported on code.google.com by
gambit47
on 18 Apr 2011 at 7:06