Please enable JavaScript to view this site.

Codolex

Date time utils are onetime functions that helps with getting datetime standards like now or tomorrow.

Uses System.DateUtils

Uses System.SysUtils

 

DateTimeUtils

Activity properties

 

begin

var Variable: TDateTime;

 Variable := Date;

end;

Resulting code

 

Date

Gets the current date without the time of the day.

 

Now

Gets the current date time to the millisecond.

 

Time

Gets the current time stamp without the date part.

 

Tomorrow

Gets the start of tomorrow as date time.

 

Yesterday

Gets the start of the day from yesterday as date time.

© by GDK Software