Cuemon .NET Framework
Ceiling(DateTime,TimeSpan) Method

A System.DateTime value to be rounded.
The System.TimeSpan value that specifies the rounding of value.
Returns a System.DateTime value that is rounded towards positive infinity.
Syntax
'Declaration
 
Public Overloads Shared Function Ceiling( _
   ByVal value As Date, _
   ByVal interval As TimeSpan _
) As Date
public static DateTime Ceiling( 
   DateTime value,
   TimeSpan interval
)

Parameters

value
A System.DateTime value to be rounded.
interval
The System.TimeSpan value that specifies the rounding of value.

Return Value

A System.DateTime value that is rounded towards positive infinity.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateTimeUtility Class
DateTimeUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback