[Overview][Constants][Procedures and functions][Index] |
Check whether a given date is today.
Source position: dateutil.inc line 125
function IsToday( |
const AValue: TDateTime |
):Boolean; |
AValue |
|
Date to check, may contain a time part. |
True if AValue is today, False otherwise.
IsToday returns True if AValue is today's date, and False otherwise.
|
Return the current date |
|
|
Return the previous day. |
|
|
Return the next day |
|
|
Check if two date/time indications are the same day. |
Program Example20; { This program demonstrates the IsToday function } Uses SysUtils,DateUtils; Begin Writeln('Today : ',IsToday(Today)); Writeln('Tomorrow : ',IsToday(Tomorrow)); Writeln('Yesterday : ',IsToday(Yesterday)); End.