{{위키데이터 속성 추적}}
[[파일:System-Time.png|섬네일|오른쪽|360px|유닉스 ''[[유닉스 시간|date]]'' 명령어]]
[[컴퓨터 과학]]과 [[컴퓨터 프로그래밍]]에서
'''시스템 시간'''(system time)은 시간의 흐름에 따른 컴퓨터 시스템의 개념을 말한다. 이같은 문맥에서 시간은 [[날짜|달력의 일수]]가 경과하는 것도 포함한다.

시스템 시간은 시스템 클록에 의해 측정되며, 이는 일반적으로 [[기원일]]이라 부르는 특정한 시작일 이래로 발생된, 틱(tick)의 수를 단순히 세는 것으로 구현된다. 이를테면 [[유닉스]]와 [[POSIX]] 호환 시스템들은 시스템 시간([[유닉스 시간]])을 [[윤초]]를 제외하고 1 January 1970 00:00:00 [[세계시|UT]]의 [[유닉스 시간]] 시작점 이후로 경과한 초 단위의 수로 인코딩한다. [[윈도우 9x]], [[윈도우 NT]]와 같이 32비트와 64비트 버전의 [[윈도우 API]]를 구현하는 시스템들은 연도/월/일/시간/분/초/밀리초 값을 대표하는 <code>SYSTEMTIME</code>과 1 January 1601 00:00:00 UT 이후의 100 나노초의 틱의 수를 세는 <code>FILETIME</code>을 시스템 시간으로 둘 다 제공한다.

시스템 시간은 [[날짜|날짜 시간]]으로 변환할 수 있으며, 이는 인간이 이해하기에 더 적합한 형태이다.

== 역사 ==
대부분의 1세대 [[개인용 컴퓨터|PC]]들은 날짜와 시간을 추적하지 못했다. 여기에는 [[CP/M]] 운영 체제를 구동하던 시스템뿐 아니라 초기 모델의 [[애플 II]], [[BBC 마이크로]], [[코모도어 PET]]도 포함되었다. [[IBM PC/AT]]<!-- 및 [[IBM PC XT]], [[IBM PS/2]] -->은 [[메인보드]]에 날짜/시간 하드웨어가 장착된 최초의 상용화된 개인용 컴퓨터였다. 온보드 [[전지|배터리 백업]]이 있는 [[실시간 시계]] 칩이 포함된 애드온 [[주변기기|주변 기판]]이 [[IBM PC]]와 [[IBM PC XT|XT]]용으로 이용이 가능하게 되었다. [[컴퓨터 네트워크]]가 널리 사용할 수 있기 전까지 시스템 시간을 추적하였던 대부분의 개인용 컴퓨터 시스템들은 오직 로컬 시간과만 관계를 맺었고 [[시간대]]에 대한 허용을 두지 않았다.

== 시스템 시간의 반환 ==
{| class="wikitable noprint" style="text-align:center; margin:0.5em auto"
|-
| {{#time:d F Y  H:i:s}} UTC<br/>
{{small|
이 문서가 마지막으로 생성될 때의 위키백과 시스템 시간이다.<br/> → {{Purge|이 문서를 새로 고친 다음 이 카운터를 업데이트합니다.}}}}
|}

=== 운영 체제 ===
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
{| class="wikitable" style="width:98%; background:#F0F0E7"
|-
! style="background:#E0E0E0; width:25%" | 운영 체제
! style="background:#E0E0E0; width:30%" | 명령어 또는 함수
! style="background:#E0E0E0; width:15%" | 해상도
! style="background:#E0E0E0; width:30%" | 기원 또는 범위
|-
| rowspan="1" |[[안드로이드 (운영 체제)|안드로이드]]
| <code>java.lang<wbr/>.System.currentTimeMillis()</code>
| rowspan="1" |1 ms
| rowspan="1" |1 January 1970
|-
| rowspan="3" |[[바이오스]] ([[IBM PC]])
| <code>INT 1Ah, AH=00h</code><ref>Ralf Brown, "Int 0x1A, AH=0x00" in [[랄프 브라운의 인터럽트 리스트]], 2000, http://www.delorie.com/djgpp/doc/rbinter/ix/1A/00.html</ref>
| 54.931 ms<br /> 18.204&nbsp;Hz <!-- <br> 2<sup>16</sup> ticks/hr -->
| Midnight of the current day
|-
| <code>INT 1Ah, AH=02h</code><ref>Ralf Brown, "Int 0x1A, AH=0x02" in [[랄프 브라운의 인터럽트 리스트]], 2000, http://www.delorie.com/djgpp/doc/rbinter/ix/1A/02.html</ref><!--<br> or reading CMOS regs.-->
| 1 s
| Midnight of the current day
|-
| <code>INT 1Ah, AH=04h</code><ref>Ralf Brown, "Int 0x1A, AH=0x04" in [[랄프 브라운의 인터럽트 리스트]], 2000, http://www.delorie.com/djgpp/doc/rbinter/ix/1A/04.html</ref><!--<br> or reading CMOS regs.-->
| 1 day
| 1 January 1980 to 31 December 1999 or 31 December 2079 (system dependent)
|-
| rowspan="2" | [[CP/M]]
| System Control Block:<ref>{{웹 인용|url=http://www.cpm.z80.de/manuals/cpm3-sys.pdf |title=CP/M Plus (CP/M Version 3.0) Operating System Guide}}</ref><br/> <code>scb$base+58h</code>, Days since 1 Jan 1978<br/> <code>scb$base+5Ah</code>, Hour (BCD)<br/> <code>scb$base+5Bh</code>, Minute (BCD)<br/> <code>scb$base+5Ch</code>, Second (BCD)<br/>
| rowspan="2" | 1 s
| rowspan="2" | 1 January 1978 to September 2067
|-
| BDOS function <code>69h</code> (<code>T_GET</code>):<ref>{{웹 인용|url=http://www.seasip.info/Cpm/bdos.html#105 |title=BDOS system calls}}</ref><br/> <code>word</code>, Days since 1 January 1978<br/> <code>byte</code>, Hour (BCD)<br/> <code>byte</code>, Minute (BCD)<br /> <code>byte</code>, Second (BCD)
|-
| rowspan="2" | [[도스]] ([[마이크로소프트]])
| <code>{{samp|C:\>}}[[DATE (명령어)|DATE]]<br/>{{samp|C:\>}}[[TIME (명령어)|TIME]]</code>
| rowspan="2" | 10 ms<!-- DL returns 1/100 of a second, so '''resolution''' is 10 ms; though accuracy is 55 ms.  Also the [[파일 할당 테이블]] stores timestamps with 2 s resolution, except for create date, which is stored in 10 ms -->
| rowspan="2" | 1 January 1980 to 31 December 2099
|-
| <code>INT 21h, AH=2Ch SYSTEM TIME</code><ref>Ralf Brown, "Int 0x21, AH=0x2c" in [[랄프 브라운의 인터럽트 리스트]], 2000, http://www.delorie.com/djgpp/doc/rbinter/ix/21/2C.html</ref></code><br/><code>INT 21h, AH=2Ah SYSTEM DATE</code><ref>Ralf Brown, "Int 0x21, AH=0x2a" in [[랄프 브라운의 인터럽트 리스트]], 2000, http://www.delorie.com/djgpp/doc/rbinter/ix/21/2A.html</ref></code>
|-
| [[iOS]] ([[애플]])
| <code>CFAbsoluteTimeGetCurrent()</code><ref>[http://developer.apple.com/library/ios/documentation/CoreFoundation/Reference/CFTimeUtils/Reference/reference.html#//apple_ref/doc/c_ref/CFAbsoluteTimeGetCurrent "Time Utilities Reference"] in ''iOS Developer Library'' (Apple, 2007).</ref>
| < 1 ms
| 1 January 2001 ±10,000 years
|-
| [[맥 OS]] ([[애플]])
| <code>CFAbsoluteTimeGetCurrent()</code><ref>[http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFTimeUtils/Reference/reference.html "Time Utilities Reference"] in ''Mac OS X Developer Library'' (Apple, 2007).</ref>
| < 1 ms<ref name="Apple_CFRunLoopTimerCreate">[http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFRunLoopTimerRef/Reference/reference.html#apple_ref/c/func/CFRunLoopTimerCreate "CFRunLoopTimer Reference"]  in ''Mac OS X Developer Library'' (Apple, 2007).</ref><ref group="note" name="Apple_CF_NSTimeInterval">The Apple Developer Documentation is not clear on the precision & range of CFAbsoluteTime/CFTimeInterval, except in the CFRunLoopTimerCreate documentation which refers to 'sub-millisecond at most' precision. However, the similar type [http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html#apple_ref/c/tdef/NSTimeInterval   NSTimeInterval] appears to be interchangeable, and has the precision and range listed.</ref>
| 1 January 2001 ±10,000 years<ref name="Apple_CFRunLoopTimerCreate"/><ref group="note" name="Apple_CF_NSTimeInterval"/>
|-
| [[OpenVMS]] ([[휴렛 팩커드|HP]])
| <code>SYS$GETTIM()</code>
| 100 ns
| [[율리우스일|17 November 1858]] to AD 31,086
|-
| [[Z/OS]] ([[IBM]])
| <code>STCK</code><ref>[http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/download/A2278325.pdf?DT=20070807125005&XKS=DZ9ZBK07 ''z/Architecture Principles of Operation''] (Poughkeepsie, New York:International Business Machines, 2007) 7-187.</ref>
| 2<sup>−12</sup> μs<br /> 244.14 ps<ref>[http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/download/A2278325.pdf?DT=20070807125005&XKS=DZ9ZBK07 ''z/Architecture Principles of Operation''], (Poughkeepsie, New York:International Business Machines, 2000) 4-45, 4-46.</ref>
| 1 January 1900 to 17 September 2042 UT<ref>IBM intends to extend the date range on future systems beyond 2042. [http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/download/A2278325.pdf?DT=20070807125005&XKS=DZ9ZBK07 ''z/Architecture Principles of Operation''], (Poughkeepsie, New York:International Business Machines, 2007) 1-15, 4-45 to 4-47.</ref>
|-
| rowspan="3" | [[유닉스]], [[POSIX]]<br/> (see also [[Time.h]])
| <code>{{samp|$}}[[유닉스 시간|date]]</code><br /><code>[[Time.h]]</code>
| 1 s
| rowspan="3" |(*)<br/> 1 January 1970 to [[2038년 문제|19 January 2038]]<br/> 1 January 1970 to AD 292,277,026,596
|-
| <code><span class="plainlinks">{{man|sh|gettimeofday|SUS||inline}}()</span></code>
| 1 [[1 E-6 s|μs]]
|-
| <code><span class="plainlinks">{{man|sh|clock_gettime|SUS||inline}}()</span></code>
| 1 ns
|-
| rowspan="2" | [[마이크로소프트 윈도우|윈도우]] ([[마이크로소프트]])
| <code>GetSystemTime()</code>
| 1 ms
| rowspan="2" |1 January 1601 to AD 30,828
|-
| <code>GetSystemTimeAsFileTime()</code>
| 100 ns
|}

=== 프로그래밍 언어 및 응용 프로그램 ===
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
{| class="wikitable" style="width:98%; background:#F0F0E7"
|-
! style="background:#E0E0E0; width:25%" |언어/응용 프로그램
! style="background:#E0E0E0; width:30%" |함수 또는 변수
! style="background:#E0E0E0; width:15%" |해상도
! style="background:#E0E0E0; width:30%" |기원 또는 범위
|-
| [[에이다 (프로그래밍 언어)|Ada]]
| <code>Ada.Calendar.Clock</code>
| 100 μs to<br/> 20 ms (*)
| 1 January 1901 to 31 December 2099 (*)
|-
| [[AWK]]
| <code>systime()</code>
| 1 s
| (*)
|-
| [[베이직]], [[:en:True BASIC]]
| <code>DATE</code>, <code>DATE$</code><br /> <code>TIME</code>, <code>TIME$</code>
| 1 s
| (*)
|-
| [[비즈니스 베이직]]
| <code>DAY</code>, <code>TIM</code>
| 0.1 s
| (*)
|-
| [[C (프로그래밍 언어)|C]] (see [[Time.h]])
| <code>[[Time.h]]</code>
| 1 s (*)<ref group="note" name="stdC">The [[C 표준 라이브러리]] does not specify any specific resolution, epoch, range, or datatype for [[Time.h|system time values]]. The C++ library encompasses the C library, so it uses the same system time implementation as C.</ref>
| (*)<ref group="note" name="stdC"/>
|-
| [[C++]]
| <code>std::time()</code> <br/> <code>std::chrono::system_clock::now()</code>
| 1 s (*)<ref group="note" name="stdC"/><br/>1 ns (C++11, OS dependent)
| (*)<ref group="note" name="stdC"/>
|-
| [[C 샤프|C#]] ([[마이크로소프트]])
| <code>System.DateTime.Now</code><ref name="ms-datetime">[http://msdn.microsoft.com/en-us/library/system.datetime.now.aspx "DateTime.Now Property"] in ''[[마이크로소프트 개발자 네트워크]]'' (Microsoft, 2010) last updated July 2010.</ref><br/> <code>System.DateTime.UtcNow</code><ref name="ms-utcnow">[http://msdn.microsoft.com/en-us/library/system.datetime.utcnow.aspx "DateTime.UtcNow Property"] in ''MSDN'' (Microsoft, 2011)</ref>
| 100 ns<ref name="dotnet">[http://msdn.microsoft.com/en-us/library/system.datetime.ticks.aspx "DateTime.Ticks Property] in ''MSDN'' (Microsoft, 2010) last updated May 2010.</ref>
| 1 January 0001 to 31 December 9999
|-
| [[CICS]] ([[IBM]])
| <code>ASKTIME</code>
| 1 ms
| 1 January 1900
|-
| [[코볼]]
| <code>FUNCTION CURRENT-DATE</code>
| 1 s
| 1 January 1601
|-
| [[커먼 리스프]]
| <code>(get-universal-time)</code>
| 1 s
| 1 January 1900
|-
| [[델파이|Delphi]] ([[볼랜드]])
| <code>date</code><br/><code>time</code>
| 1 ms<br/> (부동소수점)
| 1 January 1900
|-
| rowspan="9" | [[델파이|Delphi]]<br/> ([[엠바카데로 테크놀로지스]])<ref name="embarcadero-docwiki-datetime-support">[http://docwiki.embarcadero.com/RADStudio/XE4/en/Date_and_Time_Support "Date and Time Support"] {{웨이백|url=http://docwiki.embarcadero.com/RADStudio/XE4/en/Date_and_Time_Support |date=20180109184624 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
| <code>System.SysUtils.Time</code><ref name="embarcadero-docwiki-time">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.Time "System.SysUtils.Time"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.Time |date=20140405135024 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
| rowspan="6" | 1 ms
| rowspan="2" | 0/0/0000 0:0:0:000 to 12/31/9999 23:59:59:999 [sic]
|-
| <code>System.SysUtils.GetTime</code><ref name="embarcadero-docwiki-gettime">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.GetTime "System.SysUtils.GetTime"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.GetTime |date=20140405135349 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref> (alias for <code>System.SysUtils.Time</code>)
|-
| <code>System.SysUtils.Date</code><ref name="embarcadero-docwiki-date">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.Date "System.SysUtils.Date"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.Date |date=20140405134449 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
| rowspan="4" | 0/0/0000 0:0:0:000 to 12/31/9999 0:0:0:000 [sic]
|-
| <code>System.DateUtils.Today</code><ref name="embarcadero-docwiki-today">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.DateUtils.Today "System.DateUtils.Today"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.DateUtils.Today |date=20140405140716 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
|-
| <code>System.DateUtils.Tomorrow</code><ref name="embarcadero-docwiki-tomorrow">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.DateUtils.Tomorrow "System.DateUtils.Tomorrow"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.DateUtils.Tomorrow |date=20140405135613 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
|-
| <code>System.DateUtils.Yesterday</code><ref name="embarcadero-docwiki-yesterday">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.DateUtils.Yesterday "System.DateUtils.Yesterday"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.DateUtils.Yesterday |date=20140405140748 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
|-
| <code>System.SysUtils.Now</code><ref name="embarcadero-docwiki-now">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.Now "System.SysUtils.Now"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.Now |date=20140503010642 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
| 1 s
| 0/0/0000 0:0:0:000 to 12/31/9999 23:59:59:000 [sic]
|-
| <code>System.SysUtils.DayOfWeek</code><ref name="embarcadero-docwiki-dayofweek">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.DayOfWeek "System.SysUtils.DayOfWeek"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.DayOfWeek |date=20140405133923 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
| 1 day
| 1 to 7
|-
| <code>System.SysUtils.CurrentYear</code><ref name="embarcadero-docwiki-currentyear">[http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.CurrentYear "System.SysUtils.CurrentYear"] {{웨이백|url=http://docwiki.embarcadero.com/Libraries/XE4/en/System.SysUtils.CurrentYear |date=20140405140555 }} in ''Embarcadero Developer Network'' (Embarcadero Technologies, 2013)</ref>
| 1 year
| (*)
|-
| [[:en:Emacs Lisp]]
| <code>(current-time)</code>
| 1 μs (*)
| 1 January 1970
|-
| [[얼랭|Erlang]] ([[에릭슨]])
| <code>[http://erlang.org/doc/man/erlang.html#system_time-0 erlang:system_time()]</code>, <code>[http://erlang.org/doc/man/os.html#system_time-0 os:system_time()]</code><ref name="Erlang">[http://erlang.org/doc/apps/erts/time_correction.html Time and Time Correction in Erlang]</ref>
| [[운영 체제|OS]] dependent, e.g. on [[리눅스]] 1ns<ref name="Erlang" />
| 1 January 1970<ref name="Erlang" />
|-
| [[마이크로소프트 엑셀|Excel]] ([[마이크로소프트]])
| <code>date()</code>
| ?
| [[1월 0일|0 January]] 1900<ref name="m">"In the Microsoft Office Spreadsheet Component, the value 0 evaluates to the date December 30, 1899 and the value 1 evaluates to December 31, 1899. ... In Excel, the value 0 evaluates to January 0, 1900 and the value 1 evaluates to January 1, 1900." [http://support.microsoft.com/kb/205719 XL2000: Early Dates on Office Spreadsheet Component Differ from Excel] in (''Microsoft Support'', 2003).</ref>
|-
| rowspan="2" | [[포트란]]
| <code>DATE_AND_TIME</code><br/> <code>SYSTEM_CLOCK</code>
| (*)<ref name="fortran1">[http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/lin/compiler_f/lref_for/source_files/rfsystmc.htm "SYSTEM_CLOCK"], documentation for FORTRAN compiler, Intel Corp., accessed 27 October 2011.</ref>
<ref name="fortran2">[https://gcc.gnu.org/onlinedocs/gfortran/SYSTEM_005fCLOCK.html SYSTEM_CLOCK - Time function"] in ''The GNU Fortran Compiler'' (Free Software Foundation) accessed 27 October 2011.</ref>
| rowspan="2" | 1 January 1970
|-
| <code>CPU_TIME</code>
| 1 μs
|-
| [[Go (프로그래밍 언어)|Go]]
| <code>time.Now()</code>
| 1 ns
| 1 January 0001
|-
| rowspan="2" | [[하스켈]]
| <code>Time.getClockTime</code>
| 1 ps (*)
| 1 January 1970 (*)
|-
| <code>Data.Time.getCurrentTime</code>
| 1 ps (*)
| 17 November 1858 (*)
|-
| rowspan="3" | {{앵커|java}} [[자바 (소프트웨어 플랫폼)|Java]] ([[썬 마이크로시스템즈|Sun]])
| <code>java.util.Date()</code><br/><code>System.currentTimeMillis()</code>
| 1 ms
| 1 January 1970
|-
| <code>System.nanoTime()</code><ref name="sunJavaNanoTime">[http://java.sun.com/javase/6/docs/api/java/lang/System.html#nanoTime() System.nanoTime() method] in ''Java Platform, Standard Edition 6: API Specification'' (Oracle, 2011) accessed 27 October 2011.</ref>
| 1 ns
| arbitrary<ref name="sunJavaNanoTime" />
|-
| <code>Clock.systemUTC()</code><ref name="sunJavaClock">[https://docs.oracle.com/javase/8/docs/api/java/time/Clock.html#systemUTC-- Clock.systemUTC() and other methods] in ''Java Platform, Standard Edition 8: API Specification'' (Oracle, 2014) accessed 15 January 2015.</ref>
| 1 ns
| arbitrary<ref name="sunInstant">[https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html JSR-310 Java Time System] in ''Java Platform, Standard Edition 8: API Specification'' (Oracle, 2014) accessed 15 January 2015.</ref>
|-
| [[자바스크립트]]
| <code>(new Date()).getTime()</code><br/> <code>Date.now()</code>
| 1 ms
| 1 January 1970
|-
| [[MATLAB]]
| <code>now</code>
| 1 s
| 0 January 0000<ref>[http://www.mathworks.com/help/matlab/ref/datenum.html] Matlab Help</ref>
|-
| [[:en:MUMPS]]
| <code>$H</code> (''short for'' <code>[[:en:Horology|$HOROLOG]]</code>)
| 1 s
| 31 December 1840
|-
| rowspan="2" | [[LabVIEW]]
| <code>Tick Count</code>
| 1 ms
| 00:00:00.000 1 January 1904
|-
| <code>Get Date/Time in Seconds</code>
| 1 ms
| 00:00:00.000 1 January 1904
|-

| [[오브젝티브-C]]
| <code>[NSDate timeIntervalSinceReferenceDate]</code>
| < 1 ms<ref name="Apple_NSTimeInterval">[http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html#apple_ref/c/tdef/NSTimeInterval "Foundation Data Types Reference"] in ''Mac OS X Developer Library'' (Apple, 2011) last modified 6 July 2011, section NSTimeInterval.</ref>
| 1 January 2001 ±10,000 Years<ref name="Apple_NSTimeInterval"/>
|-
| rowspan="2" | [[OCaml]]
| <code>Unix.time()</code>
| 1 s
| rowspan="2" | 1 January 1970
|-
| <code>Unix.gettimeofday()</code>
| 1 μs
|-
| [[파스칼 (프로그래밍 언어)|Extended Pascal]]<!--(ISO/IEC 10206:1990)-->
| <code>GetTimeStamp()</code>
| 1 s
| (*)
|-
| [[터보 파스칼]]
| <code>GetTime()</code><br /> <code>GetDate()</code>
| 10 ms
| (*)
|-
| rowspan="2" | [[펄]]
| <code>time()</code>
| 1 s
| rowspan="2" | 1 January 1970
|-
| <code>Time::HiRes::time</code><ref>Douglas Wegscheild, R. Schertler,  and Jarkko Hietaniemi, [https://metacpan.org/module/Time::HiRes "Time::HiRes"] (CPAN
Comprehensive Perl Archive Network, 2011) accessed 27 October 2011.</ref>
| 1 μs
|-
| rowspan="2" | [[PHP]]
| <code>time()</code><br /><code>mktime()</code>
| 1 s
| rowspan="2" | 1 January 1970
|-
| <code>microtime()</code>
| 1 μs
|-
| [[파이썬]]
| <code>datetime.now().timestamp()</code>
| 1 μs (*)
| 1 January 1970
|-
| rowspan="2" | [[IBM RPG|RPG]]
| <code>CURRENT(DATE)</code>, <code>%DATE</code><br/> <code>CURRENT(TIME)</code>, <code>%TIME</code>
| 1 s
| rowspan="2" | 1 January 0001 to 31 December 9999
|-
| <code>CURRENT(TIMESTAMP)</code>, <code>%TIMESTAMP</code>
| 1 μs
|-
| [[루비 (프로그래밍 언어)|루비]]
| <code>Time.now()</code><ref>[http://www.ruby-doc.org/core/classes/Time.html Time class] in ''Ruby-Doc.org: Help and documentation for the Ruby programming language'' (Scottsdale, AZ: James Britt and Neurogami) accessed 27 October 2011.</ref>
| 1 μs (*)
| 1 January 1970 (to 19 January 2038 prior to Ruby 1.9.2<ref>[http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9.2-released/ Ruby 1.9.2 Release Notes] {{웨이백|url=http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9.2-released/ |date=20160929014811 }} in ''Ruby-Doc.org: Help and documentation for the Ruby programming language'' (Scottsdale, AZ: James Britt and Neurogami) accessed 27 October 2011.</ref>)
|-
| rowspan="3" | [[스몰토크]]
| <code>Time microsecondClock</code><br/> {{small|(VisualWorks)}}
| rowspan="3" | 1 s {{small|(ANSI)}}<br/> 1 μs {{small|(VisualWorks)}}<br/> 1 s {{small|(Squeak)}}
| rowspan="3" | 1 January 1901 (*)
|-
| <code>Time totalSeconds</code><br/> {{small|(Squeak)}}
|-
| <code>SystemClock ticksNowSinceSystemClockEpoch</code><br/> {{small|(Chronos)}}
|-
| rowspan="2" | [[SQL]]
| rowspan="2" | <code>CURDATE()</code><br/> <code>CURTIME()</code><br/> <code>GETDATE()</code><br/> <code>NOW()</code><br/> <code>SYSDATE()</code>
| 3 ms
| 1 January 1753 to 31 December 9999 (*) <!-- MySQL; Oracle has BC 4712 to AD 9999 -->
|-
| 60 s
| 1 January 1900 to 6 June 2079 <!-- MySQL -->
|-
| [[:en:Standard ML]]
| <code>Time.now()</code>
| 1 μs (*)
| 1 January 1970 (*)
|-
| rowspan="4" | [[Tcl|TCL]]
| <code>[clock seconds]</code>
| 1 s
| rowspan="3" | 1 January 1970
|-
| <code>[clock milliseconds]</code>
| 1 ms
|-
| <code>[clock microseconds]</code>
| 1 μs
|-
| <code>[clock clicks]</code>
| 1 μs (*)
| (*)
|-
| rowspan="2" | [[윈도우 파워셸]]
| <code>Get-Date</code><ref name="ms-technet10">{{웹 인용|url=http://technet.microsoft.com/en-us/library/ee176845.aspx |title=Using the Get-Date Cmdlet |publisher=Microsoft TechNet |accessdate=11 December 2013}}</ref><ref name="ms-technet11">{{웹 인용|url=http://technet.microsoft.com/en-us/library/ee692801.aspx |title=Windows PowerShell Tip of the Week - Formatting Dates and Times |publisher=Microsoft TechNet |accessdate=11 December 2013}}</ref>
| rowspan="2" | 100 ns<ref name="dotnet"/>
| rowspan="2" | 1 January 0001 to 31 December 9999
|-
| <code>[DateTime]::Now</code><ref name="ms-datetime"/><br/> <code>[DateTime]::UtcNow</code><ref name="ms-utcnow"/>
|-
| [[비주얼 베이직 닷넷]] ([[마이크로소프트]])
| <code>System.DateTime.Now</code><ref name="ms-datetime"/><br/> <code>System.DateTime.UtcNow</code><ref name="ms-utcnow"/>
| 100 ns<ref name="dotnet"/>
| 1 January 0001 to 31 December 9999
|}

== 같이 보기 ==
{{columns-list|colwidth=30em|
* [[역법]]
* [[시간 복잡도]]
* [[GPS|GPS 시간]]
* [[네트워크 타임 프로토콜]]
* [[프로세스]]
* [[rdate]]
* [[Time.h]]
* [[시분할 시스템]]
* [[타이머]]
* [[타임스탬프]]
* [[유닉스 시간|유닉스 date 명령어]]
* [[유닉스 시간]]
* [[time (Unix)|유닉스 time 명령어]]
* [[2000년 문제]]
* [[2038년 문제]]
}}

== 내용주 ==
<references group="note"/>

== 각주 ==
{{각주|30em}}

== 외부 링크 ==
* ''[http://people.cs.nctu.edu.tw/~tsaiwn/sisc/runtime_error_200_div_by_0/www.merlyn.demon.co.uk/critdate.htm Critical and Significant Dates] {{웨이백|url=http://people.cs.nctu.edu.tw/~tsaiwn/sisc/runtime_error_200_div_by_0/www.merlyn.demon.co.uk/critdate.htm |date=20160315063716 }}'', J. R. Stockton ''(retrieved 3 December 2015)'' <!-- Extensive list of dates that are problematic for various operating systems and computing devices -->
* ''[http://www.boost.org/doc/html/date_time.html The Boost Date/Time Library]'' (C++)''
* ''[http://www.boost.org/doc/html/chrono.html The Boost Chrono Library]'' (C++)''
* ''[http://www.chronos-st.org/ The Chronos Date/Time Library]'' (Smalltalk)''
* ''[http://www.joda.org/joda-time/ Joda Time]'', The Joda Date/Time Library (Java)''
* ''[http://datetime.perl.org/ The Perl DateTime Project ] {{웨이백|url=http://datetime.perl.org/ |date=20090219220835 }}'' (Perl)''
* ''[https://web.archive.org/web/20110717144440/http://www.ruby-doc.org/stdlib/libdoc/date/rdoc/files/date_rb.html The Ruby Date/Time Library ]'' (Ruby)''

{{시간 관련 주제}}
{{시간 측정과 표준}}

[[분류:운영체제 기술]]
[[분류:컴퓨터 프로그래밍]]