DateTime Functions
Functions for working with combined date and time values.
- DateTime.AddZoneAdds timezone offset information to a datetime value, returning a datetimezone.
- DateTime.DateReturns the date part from a datetime value.
- DateTime.FixedLocalNowReturns the current local date and time, fixed for the entire query evaluation.
- DateTime.FromConverts a value to a datetime.
- DateTime.FromFileTimeConverts a Windows file time (100-nanosecond intervals since 1601-01-01) to a datetime value.
- DateTime.FromTextConverts a text representation of a datetime to a datetime value.
- DateTime.IsInCurrentHourReturns true if the datetime falls within the current hour.
- DateTime.IsInCurrentMinuteReturns true if the datetime falls within the current minute.
- DateTime.IsInCurrentSecondReturns true if the datetime falls within the current second.
- DateTime.IsInNextHourReturns true if the datetime falls in the next clock hour.
- DateTime.IsInNextMinuteReturns true if the datetime falls in the next clock minute.
- DateTime.IsInNextNHoursReturns true if the datetime falls within the next N clock hours.
- DateTime.IsInNextNMinutesReturns true if the datetime falls within the next N clock minutes.
- DateTime.IsInNextNSecondsReturns true if the datetime falls within the next N seconds.
- DateTime.IsInNextSecondReturns true if the datetime falls in the next clock second.
- DateTime.IsInPreviousHourReturns true if the datetime falls in the previous clock hour.
- DateTime.IsInPreviousMinuteReturns true if the datetime falls in the previous clock minute.
- DateTime.IsInPreviousNHoursReturns true if the datetime falls within the previous N clock hours.
- DateTime.IsInPreviousNMinutesReturns true if the datetime falls within the previous N clock minutes.
- DateTime.IsInPreviousNSecondsReturns true if the datetime falls within the previous N seconds.
- DateTime.IsInPreviousSecondReturns true if the datetime falls in the previous clock second.
- DateTime.LocalNowReturns the current local date and time.
- DateTime.TimeReturns the time part from a datetime value.
- DateTime.ToRecordConverts a datetime value to a record containing its parts.
- DateTime.ToTextConverts a datetime value to a text string.
- #datetimeCreates a datetime value from year, month, day, hour, minute, and second components.