Power Query
Search…
published
Introduction
Accessing Data
Action
Binary
Binary Formats
Combiner
Comparer
Cube
Date
Date Time
DateTime.AddZone
DateTime.Date
DateTime.FixedLocalNow
DateTime.From
DateTime.FromFileTime
DateTime.FromText
DateTime.IsInCurrentHour
DateTime.IsInCurrentMinute
DateTime.IsInCurrentSecond
DateTime.IsInNextHour
DateTime.IsInNextMinute
DateTime.IsInNextNHours
DateTime.IsInNextNMinutes
DateTime.IsInNextNSeconds
DateTime.IsInNextSecond
DateTime.IsInPreviousHour
DateTime.IsInPreviousMinute
DateTime.IsInPreviousNHours
DateTime.IsInPreviousNMinutes
DateTime.IsInPreviousNSeconds
DateTime.IsInPreviousSecond
DateTime.LocalNow
DateTime.Time
DateTime.ToRecord
DateTime.ToText
Date Time Zone
Diagnostics
Duration
Error
Expression
Function
Lines
List
Logical
Metadata
Number
Record
Replacer
Splitter
Table
Text
Time
Type
Uri
Values
Powered By GitBook
DateTime.IsInCurrentHour

DateTime.IsInCurrentHour

Indicates whether this datetime occurs during the current hour, as determined by the current date and time on the system.
function (optional dateTime as nullable any) as nullable any

Description

Indicates whether the given datetime value dateTime occurs during the current hour, as determined by the current date and time on the system.

Category

DateTime

Examples

Determine if the current system time is in the current hour.
1
DateTime.IsInCurrentHour(DateTime.FixedLocalNow())
Copied!
true
Previous
DateTime.FromText
Next
DateTime.IsInCurrentMinute
Last modified 3yr ago
Copy link
Contents
DateTime.IsInCurrentHour
Description
Category
Examples