티스토리 뷰

Delphi

function GetTime: TDateTime;

C++

extern PACKAGE System::TDateTime __fastcall GetTime(void);

Properties

Type

Visibility

Source

Unit

Parent

function

public

System.SysUtils.pas

System.SysUtils.hpp

System.SysUtils

System.SysUtils

Description

Returns the current time.

GetTime and Time return the current time as a System.TDateTime value.

The two functions are completely equivalent.

Note: Time clashes with an Xlib function of the same name.

Use GetTime in cross-platform code (MAC OS).

 

현재 시간을 반환합니다.

GetTime Time은 현재 시간을 System.TDateTime 값으로 반환합니다.

두 함수는 완전히 동등합니다.

참고: 동일한 이름의 Xlib 함수와 Time 충돌이 발생합니다.

교차 플랫폼 코드 (MAC OS)에서 GetTime을 사용하십시오.

 

Example

begin

  // 결과: 1899-12-30 오후 9:44:06

  Writeln(DateTimeToStr(GetTime()));

  Readln;

end.

 

completely 미국·영국 [kəm|pli:tli]   중요

완전히, 전적으로

complete (completely) 미국·영국 [kəm|pli:t]   영국식   중요

1. (강조의 의미로) 가능한 최대의, 완벽한
2.
필요한 모든 것이 갖춰진, 완전한
3. (
추가 부품을) 포함하여

 

출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.GetTime

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함