Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   DateTimeToString unter WINDOWS und LINUX (https://www.delphipraxis.net/204603-datetimetostring-unter-windows-und-linux.html)

bernhard_LA 10. Jun 2020 13:42


DateTimeToString unter WINDOWS und LINUX
 
Liste der Anhänge anzeigen (Anzahl: 1)
die Wandlung von dtdt_StartDate.DateTime wobei dtdt ein TDateEdit ist funktioniert unter Windows Problemlos :-)
nur unter LINUX bekomme ich jetzt Formatierungsprobleme, an dieser Code-stelle,
wie geht's besser ?


Delphi-Quellcode:

var datestr : String ;


DateTimeToString(datestr, 'dd/mm/yyyy', dtdt_StartDate.DateTime);


Alle Zeitangaben in WEZ +1. Es ist jetzt 18: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