Icon DayOf

Unit: Internal

Available In: Client and Server Applications

function DayOf(Value: DateTime; UTC: Boolean=False): Integer

The DayOf function returns the day number of the input parameter in local or UTC time. The return value is an Integer value.

Examples

X := DayOf(Date);  // X is 13 (assuming a date of 02/13/2012)
Image