AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Systemzeit msec

Ein Thema von ivan · begonnen am 18. Jan 2004 · letzter Beitrag vom 18. Jan 2004
Antwort Antwort
ivan

Registriert seit: 17. Dez 2003
4 Beiträge
 
#1

Systemzeit msec

  Alt 18. Jan 2004, 19:01
Gibt es die möglichkeit mit delphi die systemzeit auf millisekunden genau auszulesen?
  Mit Zitat antworten Zitat
Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Systemzeit msec

  Alt 18. Jan 2004, 19:04
GetTickCount gibt dir die vergangenen Millisekunden seit Systemstart an.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat
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
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:59 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