Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Systemzeit msec (https://www.delphipraxis.net/14947-systemzeit-msec.html)

ivan 18. Jan 2004 20:01


Systemzeit msec
 
Gibt es die möglichkeit mit delphi die systemzeit auf millisekunden genau auszulesen?

Luckie 18. Jan 2004 20:04

Re: Systemzeit msec
 
GetTickCount gibt dir die vergangenen Millisekunden seit Systemstart an.

toms 18. Jan 2004 20:05

Re: Systemzeit msec
 
Hi,

Zitat:

The GetSystemTime function retrieves the current system date and time.
The system time is expressed in Coordinated Universal Time (UTC).
Code:
VOID GetSystemTime(

    LPSYSTEMTIME lpSystemTime    // address of system time structure
   );

Zitat:

Parameters

lpSystemTime

Points to a SYSTEMTIME structure to receive the current system date and time.

The SYSTEMTIME structure represents a date and time using individual
members for the month, day, year, weekday, hour, minute, second, and millisecond.
Code:
typedef struct _SYSTEMTIME {  // st
    WORD wYear;
    WORD wMonth;
    WORD wDayOfWeek;
    WORD wDay;
    WORD wHour;
    WORD wMinute;
    WORD wSecond;
    WORD wMilliseconds;
} SYSTEMTIME;


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