Icon DST

Unit: Internal

Available In: Client and Server Applications

function DST(Value: DateTime; UTC: Boolean=False): Boolean

The DST function returns True if the the date/time input parameter falls into a period of daylight-savings time, and False if it doesn't.

Examples

X := DST(Now);  // X is False for '12/20/2020 1:23 PM'
Image