Really, thanks to all who replied to my query. It put me in the right direction towards a solution.
I discovered the following functions (any other Delphi developers here are welcome to copy can paste the code for their own use):
Quote:
const
// Sets UnixStartDate to TDateTime of 01/01/1970
UnixStartDate: TDateTime = 25569.0;
function DateTimeToUnix(ConvDate: TDateTime): Longint;
begin
Result := Round((ConvDate - UnixStartDate) * 86400);
end;
function UnixToDateTime(USec: Longint): TDateTime;
begin
Result := (Usec / 86400) + UnixStartDate;
end;
So I changed my code from this:
Quote:
EditDetailsUpdated.Text := IntToStr(ASeriesItem.Properties.Lastupdated);
to this:
Quote:
EditDetailsUpdated.Text := FormatDateTime('dd mmmm yyyy, hh:nn', UnixToDateTime(ASeriesItem.Properties.Lastupdated));
and my Properties Form now gives me a more "user friendly" display of the "lastupdated" field.