시스템 시간
시스템 시간의 반환 > 프로그래밍 언어 및 응용 프로그램

| 언어/응용 프로그램 | 함수 또는 변수 | 해상도 | 기원 또는 범위 |
| --- | --- | --- | --- |
| Ada | Ada.Calendar.Clock | 100 μs to  20 ms (*) | 1 January 1901 to 31 December 2099 (*) |
| AWK | systime() | 1 s | (*) |
| 베이직, en:True BASIC | DATE, DATE$  TIME, TIME$ | 1 s | (*) |
| 비즈니스 베이직 | DAY, TIM | 0.1 s | (*) |
| C (see Time.h) | Time.h | 1 s (*) | (*) |
| C++ | std::time()   std::chrono::system_clock::now() | 1 s (*) 1 ns (C++11, OS dependent) | (*) |
| C# (마이크로소프트) | System.DateTime.Now  System.DateTime.UtcNow | 100 ns | 1 January 0001 to 31 December 9999 |
| CICS (IBM) | ASKTIME | 1 ms | 1 January 1900 |
| 코볼 | FUNCTION CURRENT-DATE | 1 s | 1 January 1601 |
| 커먼 리스프 | (get-universal-time) | 1 s | 1 January 1900 |
| Delphi (볼랜드) | date time | 1 ms  (부동소수점) | 1 January 1900 |
| Delphi  (엠바카데로 테크놀로지스) | System.SysUtils.Time | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 23:59:59:999 [sic] |
| Delphi  (엠바카데로 테크놀로지스) | 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  (엠바카데로 테크놀로지스) | System.SysUtils.Date | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 0:0:0:000 [sic] |
| Delphi  (엠바카데로 테크놀로지스) | System.DateUtils.Today | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 0:0:0:000 [sic] |
| Delphi  (엠바카데로 테크놀로지스) | System.DateUtils.Tomorrow | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 0:0:0:000 [sic] |
| Delphi  (엠바카데로 테크놀로지스) | System.DateUtils.Yesterday | 1 ms | 0/0/0000 0:0:0:000 to 12/31/9999 0:0:0:000 [sic] |
| Delphi  (엠바카데로 테크놀로지스) | System.SysUtils.Now | 1 s | 0/0/0000 0:0:0:000 to 12/31/9999 23:59:59:000 [sic] |
| Delphi  (엠바카데로 테크놀로지스) | System.SysUtils.DayOfWeek | 1 day | 1 to 7 |
| Delphi  (엠바카데로 테크놀로지스) | System.SysUtils.CurrentYear | 1 year | (*) |
| en:Emacs Lisp | (current-time) | 1 μs (*) | 1 January 1970 |
| Erlang (에릭슨) | erlang:system_time(), os:system_time() | OS dependent, e.g. on 리눅스 1ns | 1 January 1970 |
| Excel (마이크로소프트) | date() |  ? | 0 January 1900 |
| 포트란 | DATE_AND_TIME  SYSTEM_CLOCK | (*)  | 1 January 1970 |
| 포트란 | CPU_TIME | 1 μs | 1 January 1970 |
| Go | time.Now() | 1 ns | 1 January 0001 |
| 하스켈 | Time.getClockTime | 1 ps (*) | 1 January 1970 (*) |
| 하스켈 | Data.Time.getCurrentTime | 1 ps (*) | 17 November 1858 (*) |
|  Java (Sun) | java.util.Date() System.currentTimeMillis() | 1 ms | 1 January 1970 |
|  Java (Sun) | System.nanoTime() | 1 ns | arbitrary |
|  Java (Sun) | Clock.systemUTC() | 1 ns | arbitrary |
| 자바스크립트 | (new Date()).getTime()  Date.now() | 1 ms | 1 January 1970 |
| MATLAB | now | 1 s | 0 January 0000 |
| en:MUMPS | $H (short for $HOROLOG) | 1 s | 31 December 1840 |
| LabVIEW | Tick Count | 1 ms | 00:00:00.000 1 January 1904 |
| LabVIEW | Get Date/Time in Seconds | 1 ms | 00:00:00.000 1 January 1904 |
| 오브젝티브-C | [NSDate timeIntervalSinceReferenceDate] | < 1 ms | 1 January 2001 ±10,000 Years |
| OCaml | Unix.time() | 1 s | 1 January 1970 |
| OCaml | Unix.gettimeofday() | 1 μs | 1 January 1970 |
| Extended Pascal | GetTimeStamp() | 1 s | (*) |
| 터보 파스칼 | GetTime()  GetDate() | 10 ms | (*) |
| 펄 | time() | 1 s | 1 January 1970 |
| 펄 | Time::HiRes::time | 1 μs | 1 January 1970 |
| PHP | time() mktime() | 1 s | 1 January 1970 |
| PHP | microtime() | 1 μs | 1 January 1970 |
| 파이썬 | datetime.now().timestamp() | 1 μs (*) | 1 January 1970 |
| RPG | CURRENT(DATE), %DATE  CURRENT(TIME), %TIME | 1 s | 1 January 0001 to 31 December 9999 |
| RPG | CURRENT(TIMESTAMP), %TIMESTAMP | 1 μs | 1 January 0001 to 31 December 9999 |
| 루비 | Time.now() | 1 μs (*) | 1 January 1970 (to 19 January 2038 prior to Ruby 1.9.2) |
| 스몰토크 | Time microsecondClock  (VisualWorks) | 1 s (ANSI)  1 μs (VisualWorks)  1 s (Squeak) | 1 January 1901 (*) |
| 스몰토크 | Time totalSeconds  (Squeak) | 1 s (ANSI)  1 μs (VisualWorks)  1 s (Squeak) | 1 January 1901 (*) |
| 스몰토크 | SystemClock ticksNowSinceSystemClockEpoch  (Chronos) | 1 s (ANSI)  1 μs (VisualWorks)  1 s (Squeak) | 1 January 1901 (*) |
| SQL | CURDATE()  CURTIME()  GETDATE()  NOW()  SYSDATE() | 3 ms | 1 January 1753 to 31 December 9999 (*) |
| SQL | CURDATE()  CURTIME()  GETDATE()  NOW()  SYSDATE() | 60 s | 1 January 1900 to 6 June 2079 |
| en:Standard ML | Time.now() | 1 μs (*) | 1 January 1970 (*) |
| TCL | [clock seconds] | 1 s | 1 January 1970 |
| TCL | [clock milliseconds] | 1 ms | 1 January 1970 |
| TCL | [clock microseconds] | 1 μs | 1 January 1970 |
| TCL | [clock clicks] | 1 μs (*) | (*) |
| 윈도우 파워셸 | Get-Date | 100 ns | 1 January 0001 to 31 December 9999 |
| 윈도우 파워셸 | [DateTime]::Now  [DateTime]::UtcNow | 100 ns | 1 January 0001 to 31 December 9999 |
| 비주얼 베이직 닷넷 (마이크로소프트) | System.DateTime.Now  System.DateTime.UtcNow | 100 ns | 1 January 0001 to 31 December 9999 |