If you remove the TimeZone PDT from the string then you can use VarToDateTime
to convert the string into a TDateTime
value
var
LDateTimeStr : string;
LDateTime : TDateTime;
begin
LDateTimeStr := 'Apr 17, 2014 8:35:38 PM PDT';
LDateTime := VarToDateTime( Copy( LDateTimeStr, 1, 23 ) );
WriteLn( FormatDateTime( 'yyyy-mm-dd hh:nn:ss', LDateTime ) );
end;
The result will be
2014-04-17 20:35:38