Sistem saati
Sistem zamanı alınıyor > Programlama dilleri ve uygulamaları

| Dil / Uygulama | İşlev veya değişken | Çözüm | Çağ veya aralık |
| --- | --- | --- | --- |
| Ada | Ada.Calendar.Clock | 100 μs to  20 ms (*) | 1 Ocak 1901 - 31 Aralık 2099 (*) |
| AWK | systime() | 1 s | (*) |
| BASIC, True BASIC | DATE, DATE$  TIME, TIME$ | 1 s | (*) |
| Business BASIC | DAY, TIM | 0.1 s | (*) |
| C (see C date and time functions) | time() | 1 s (*) | (*) |
| C++ | std::time()   std::chrono::system_clock::now() | 1 s (*) 1 ns (C++11, OS dependent) | (*) |
| C# (Microsoft) | System.DateTime.Now  System.DateTime.UtcNow | 100 ns | 1 Ocak 0001 - 31 Aralık 9999 |
| CICS (IBM) | ASKTIME | 1 ms | 1 Ocak 1900 |
| COBOL | FUNCTION CURRENT-DATE | 1 s | 1 Ocak 1601 |
| Common Lisp | (get-universal-time) | 1 s | 1 Ocak 1900 |
| Delphi (Borland) | date time | 1 ms  (kayan nokta) | 1 Ocak 1900 |
| Delphi  (Embarcadero Technologies) | System.SysUtils. Time | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 23:59:59:999 [sic] |
| Delphi  (Embarcadero Technologies) | System.SysUtils.GetTime (alias for System.SysUtils. Time) | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 23:59:59:999 [sic] |
| Delphi  (Embarcadero Technologies) | System.SysUtils.Date | 1 ms | 0/0/00000:0:0:000 - 12/31/9999 0:0:0:000 [sic] |
| Delphi  (Embarcadero Technologies) | System.DateUtils. Today | 1 ms | 0/0/00000:0:0:000 - 12/31/9999 0:0:0:000 [sic] |
| Delphi  (Embarcadero Technologies) | System.DateUtils. Tomorrow | 1 ms | 0/0/00000:0:0:000 - 12/31/9999 0:0:0:000 [sic] |
| Delphi  (Embarcadero Technologies) | System.DateUtils.Yesterday | 1 ms | 0/0/00000:0:0:000 - 12/31/9999 0:0:0:000 [sic] |
| Delphi  (Embarcadero Technologies) | System.SysUtils.Now | 1 s | 0/0/00000:0:0:000 - 12/31/9999 23:59:59:000 [sic] |
| Delphi  (Embarcadero Technologies) | System.SysUtils.DayOfWeek | 1 gün | 1 to 7 |
| Delphi  (Embarcadero Technologies) | System.SysUtils.CurrentYear | 1 yıl | (*) |
| Emacs Lisp | (current-time) | 1 μs (*) | 1 Ocak 1970 |
| Erlang (Ericsson) | erlang:system_time()31 Temmuz 2017 tarihinde Wayback Machine sitesinde arşivlendi., os:system_time()13 Ağustos 2017 tarihinde Wayback Machine sitesinde arşivlendi. | OS bağımlı, e.g. on Linux 1ns | 1 Ocak 1970 |
| Excel (Microsoft) | date() |  ? | 0 Ocak 1900 |
| Fortran | DATE_AND_TIME  SYSTEM_CLOCK | (*)  | 1 Ocak 1970 |
| Fortran | CPU_TIME | 1 μs | 1 Ocak 1970 |
| Go | time.Now() | 1 ns | 1 Ocak 0001 |
| Haskell | Time.getClockTime | 1 ps (*) | 1 Ocak 1970 (*) |
| Haskell | Data. Time.getCurrentTime | 1 ps (*) | 17 Kasım 1858 (*) |
|  Java (Sun) | java.util.Date() System.currentTimeMillis() | 1 ms | 1 Ocak 1970 |
|  Java (Sun) | System.nanoTime() | 1 ns | keyfi |
|  Java (Sun) | Clock.systemUTC() | 1 ns | keyfi |
| JavaScript | (new Date()).getTime()  Date.now() | 1 ms | 1 Ocak 1970 |
| Matlab | now | 1 s | 0 Ocak 0000 |
| MUMPS | $H (short for $HOROLOG) | 1 s | 31 Aralık 1840 |
| LabVIEW | Tick Count | 1 ms | 00:00:00.000 1 Ocak 1904 |
| LabVIEW | Get Date/Time in Seconds | 1 ms | 00:00:00.000 1 Ocak 1904 |
| Objective-C | [NSDate timeIntervalSinceReferenceDate] | < 1 ms | 1 Ocak 2001 ±10,000 Yıl |
| OCaml | Unix.time() | 1 s | 1 Ocak 1970 |
| OCaml | Unix.gettimeofday() | 1 μs | 1 Ocak 1970 |
| Extended Pascal | GetTimeStamp() | 1 s | (*) |
| Turbo Pascal | GetTime()  GetDate() | 10 ms | (*) |
| Perl | time() | 1 s | 1 Ocak 1970 |
| Perl | Time::HiRes::time | 1 μs | 1 Ocak 1970 |
| PHP | time() mktime() | 1 s | 1 Ocak 1970 |
| PHP | microtime() | 1 μs | 1 Ocak 1970 |
| Python | datetime.now().timestamp() | 1 μs (*) | 1 Ocak 1970 |
| RPG | CURRENT(DATE), %DATE  CURRENT(TIME), %TIME | 1 s | 1 Ocak 0001 - 31 Aralık 9999 |
| RPG | CURRENT(TIMESTAMP), %TIMESTAMP | 1 μs | 1 Ocak 0001 - 31 Aralık 9999 |
| Ruby | Time.now() | 1 μs (*) | 1 Ocak 1970 (kadar 19 Ocak 2038  Ruby'den önce 1.9.2) |
| Smalltalk | Time microsecondClock  (VisualWorks) | 1 s (ANSI)  1 μs (VisualWorks)  1 s (Squeak) | 1 Ocak 1901 (*) |
| Smalltalk | Time totalSeconds  (Squeak) | 1 s (ANSI)  1 μs (VisualWorks)  1 s (Squeak) | 1 Ocak 1901 (*) |
| Smalltalk | SystemClock ticksNowSinceSystemClockEpoch  (Chronos) | 1 s (ANSI)  1 μs (VisualWorks)  1 s (Squeak) | 1 Ocak 1901 (*) |
| SQL | CURDATE()  CURTIME()  GETDATE()  NOW()  SYSDATE() | 3 ms | 1 Ocak 1753 - 31 Aralık 9999 (*) |
| SQL | CURDATE()  CURTIME()  GETDATE()  NOW()  SYSDATE() | 60 s | 1 Ocak 1900 - 6 Haziran 2079 |
| Standard ML | Time.now() | 1 μs (*) | 1 Ocak 1970 (*) |
| TCL | [clock seconds] | 1 s | 1 Ocak 1970 |
| TCL | [clock milliseconds] | 1 ms | 1 Ocak 1970 |
| TCL | [clock microseconds] | 1 μs | 1 Ocak 1970 |
| TCL | [clock clicks] | 1 μs (*) | (*) |
| Windows PowerShell | Get-Date | 100 ns | 1 Ocak 0001 - 31 Aralık 9999 |
| Windows PowerShell | [DateTime]::Now  [DateTime]::UtcNow | 100 ns | 1 Ocak 0001 - 31 Aralık 9999 |
| Visual Basic .NET (Microsoft) | System.DateTime.Now  System.DateTime.UtcNow | 100 ns | 1 Ocak 0001 - 31 Aralık 9999 |