Einzelnen Beitrag anzeigen

Der schöne Günther

Registriert seit: 6. Mär 2013
6.110 Beiträge
 
Delphi 10 Seattle Enterprise
 
#2

AW: UnixToDateTime mit hoher Präzision

  Alt 12. Dez 2018, 15:23
Unix-Zeit hat per Definition keine Millisekunden.

Zitat:
Unix has no tradition of directly representing non-integer Unix time numbers as binary fractions. Instead, times with sub-second precision are represented using composite data types that consist of two integers, the first being a time_t (the integral part of the Unix time), and the second being the fractional part of the time number in millionths (in struct timeval) or billionths (in struct timespec). These structures provide a decimal-based fixed-point data format, which is useful for some applications, and trivial to convert for others.
Quelle: https://en.wikipedia.org/wiki/Unix_t...ing_the_number
  Mit Zitat antworten Zitat