Date time utils are onetime functions that helps with getting datetime standards like now or tomorrow.
Uses System.DateUtils
Uses System.SysUtils
Activity properties
begin var Variable: TDateTime; Variable := Date; end; |
Resulting code
Gets the current date without the time of the day.
Gets the current date time to the millisecond.
Gets the current time stamp without the date part.
Gets the start of tomorrow as date time.
Gets the start of the day from yesterday as date time.