Rounds the date up to the specified period.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public static DateTime NextRoundedTime( DateTime date, TimeSpan period ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function NextRoundedTime ( _ date As DateTime, _ period As TimeSpan _ ) As DateTime |
| Visual C++ |
|---|
public: static DateTime NextRoundedTime( DateTime date, TimeSpan period ) |