Method Hours NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll Hours(int) Returns a time range in hours. public static TimeRangeWindowBoundary Hours(int value) Parameters value int The value. Returns TimeRangeWindowBoundary A time range.