Thema: Delphi Systemzeit msec

Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#3

Re: Systemzeit msec

  Alt 18. Jan 2004, 19:05
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;
Thomas
  Mit Zitat antworten Zitat