AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkDateTime Members

The following tables list the members exposed by TAgkDateTime.

 
Name 
Description 
 
Initializes the date/time structure. 
 
Checks whether the given year is a leap year. 
 
Name 
Description 
 
Returns a string representing the current date in the format YYYY-MM-DD, for example 2012-05-02. 
 
Returns a string representing the current time in the format HH-MM-SS, for example 16:17:04. 
 
Day 
The day component of the date (1-31). 
 
The current day of the week. 
 
The hours component of the time (0-23). 
 
Whether this is a leap year. 
 
The minutes component of the time (0-59). 
 
The month component of the date (1-12). 
 
Now 
Returns the current date and time. 
 
The seconds component of the time (0-59). 
 
The date/time as a Unix time value. Unix time is represented as the number of seconds since the 1st Jan 1970, it may also be negative. 
 
Year 
The year component of the date. 
Copyright (c) 2012. All rights reserved.