HomeProductsSupportDownloadsOnline StoreOnLine DocumentationLicensingAbout UsContact Us
User's Manual - ActiveGantt Scheduler Component for Visual Basic .Net - The Source Code Store .Com - Professional source code for Microsoft Visual Basic and Visual Studio .NET and specialized software components.
Back to Table of Contents
Example
Send Feedback

RoundDate Method (MathLib Object)

Returns a date value representation of a date value that has been rounded to a specified interval.

Syntax:

MathLibObject.RoundDate(Interval As String, Number As Long, dtDate As Date)

The RoundDate Method (MathLib Object) syntax has these parts:

 Part  Description
ActiveGanttVBNCtl An object expression that evaluates to an ActiveGantt Schedule Control.
Interval Required. A string valuethat determines the interval of time that you want to round to as described in settings.
Number Required. A long integer value that determines the number of intervals.
dtDate Required. The date value that you want to round.

The settings for Interval are:

 Setting  Description
yyyy Year.
q Quarter.
m Month.
d Day.
ww Week.
h Hour.
n Minute.
s Second.

Remarks:

You can use the RoundDate method to round dates.

 

Home | Products | Support | Downloads | OnLine Store

Online Documentation | Licensing | About Us | Contact Us

Privacy Terms of use Copyright (c)2002-2005 The Source Code Store LLC. All trademarks are property of their legal owner.