Date/Time routines
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declarations
function StrToDateTimeDef(const S: String;  
  DefDateTime: TDateTime): TDateTime;  
function IsLeapYear(AYear: Integer): Boolean;  
function DaysPerMonth(AYear: Integer; AMonth: Word): Byte;  
function GMTToLocalTime: TDateTime;  
function LocalTimeToGMT: TDateTime;  
function GMT: TDateTime;  
function InternetTimeToDateTime(InternetTime: String): TDateTime;  
function DateTimeToFileTime(Time: TDateTime): TFileTime;  
function FileTimeToDateTime(Time: TFileTime): TDateTime;  
function SetFileTimes(const FileName: String;  
  Created, Modified, Accessed: TDateTime): Boolean;  
function SameDateTime(const DateTime1, DateTime2: TDateTime): Boolean;