![]() |
Problem mit Datum im Format YYYYmmdd
Hey,
ich habe gerade die Suche genutzt bin allerdings zu keinem nützlichen Ergebnis gekommen: Ich bekomme von einer Web-Applikation (die nicht anders kann als sie tut) ein Datum im Format YYYYmmdd zurückgeliefert, also z.B. 20060830 für heute ... ich will das dann in ein TDate umwandeln:
Delphi-Quellcode:
funktioniert leider nicht... alternative Vorschläge?
ShortDateFormat := 'yyyymmdd';
FUploadDate := StrToDate('20060830'); Lg Lars |
Re: Problem mit Datum im Format YYYYmmdd
Verwende strToDateDef()
|
Re: Problem mit Datum im Format YYYYmmdd
hmm in Delphi 5 habe ich vergessen hinzuzuschreiben ... sry
|
Re: Problem mit Datum im Format YYYYmmdd
Manuell String zerlegen und mit Encodedate manuell erzeugen.
|
Re: Problem mit Datum im Format YYYYmmdd
|
Re: Problem mit Datum im Format YYYYmmdd
hey, super die von dir genannte Unit enthält genau die Funktion, die ich benötige. Dankööö!
Lg Lars |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:33 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz