Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   StrToDate für 'Nov 14 10:49:21 2005' (https://www.delphipraxis.net/154695-strtodate-fuer-nov-14-10-49-21-2005-a.html)

hoika 21. Sep 2010 16:02

Delphi-Version: 2007

StrToDate für 'Nov 14 10:49:21 2005'
 
Hallo, #,

das obige Datum (Monatskürzel ist englisch habe ich als String.
Rausbekommen will ich 14.11.2005 10:49:21.

Hat wer einen Plan, wie ich das ohne Code ;) hinbekomme ?.

Das ist übrigens das Format, was ich mit OpenSSL für die Gültigkeit eines Zertifikats bekomme.


Danke


Heiko

himitsu 21. Sep 2010 16:09

AW: StrToDate für 'Nov 14 10:49:21 2005'
 
Zitat:

Zitat von OH
Delphi-Quellcode:
function StrToDate(const S: string; const FormatSettings: TFormatSettings): TDateTime;

einen passenden Format-Parameter angeben

oder mal schauen, ob es für Delphi-Referenz durchsuchenFormatDateTime eine Umkehrfunktion gibt.


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:18 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz