cxDateUtils Unit
The cxDateUtils unit provides a library of functions that process date/time values, convert them to a text representation and construct masks to input date values.
Types
Routines
#Records
Name | Description |
---|---|
Tcx |
Contains information about the daylight saving time transition. |
Tcx |
|
Tcx |
Contains the date information specific to the current time zone. |
#Enums
Name | Description |
---|---|
Tcx |
Enumerates built-in smart input constants. |
Tcx |
|
Tcx |
Enumerates the available options that specify which week should be considered the first week of a year. |
TDay |
#Methods
Name | Description |
---|---|
Check |
Returns the valid day for a specific date. |
cx |
Converts the ADate date into a date string. |
Date |
Converts a TDate |
Date |
Converts a TDate |
Date |
|
Days |
Returns the number of days in a month. |
dx |
Changes the date by a specified number of months. |
dx |
|
dx |
Decreases the specified date by one month. |
dx |
Extracts the day, month or year form the TDate |
dx |
Returns the week number in a year. |
dx |
Increases the specified date by one month. |
dx |
|
Is |
Determines whether the specified year is a leap year. |
Smart |
Converts a string to the TDate |
Text |
Converts a string to the TDate |
#Variables
Name | Description |
---|---|
scx |
Stores built-in smart input constants. |
#Constants
Name | Description |
---|---|
Null |
Specifies the value for a date determined as not set. |
Smart |
Specifies the function handle for the Smart |