[Reference] System.SysUtils.Date
Delphi
function Date: TDateTime;
C++
extern PACKAGE System::TDateTime __fastcall Date(void);
Properties
Type |
Visibility |
Source |
Unit |
Parent |
function |
public |
System.SysUtils.pas System.SysUtils.hpp |
Description
Returns the current date.
Use Date to obtain the current local date as a System.TDateTime value.
The time portion of the value is 0 (midnight).
현재 날짜를 반환합니다.
Date를 사용하여 현재 로컬 날짜를 System.TDateTime 값으로 가져옵니다.
값의 시간 부분은 0 (자정)입니다.
Example
var Today: string;
begin Today := DateToStr(Date);
// 결과: 2017-03-27 ※ 2017년 3월 27일 기준 Writeln(Today); Readln; end. |
portion 미국식 [|pɔ:rʃn] 1. (더 큰 것의) 부분 |
출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.Date