ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / DateAndTime Class / TimeSerial Method
Required. Integer expression from 0 through 23. However, values outside this range are also accepted.
Required. Integer expression from 0 through 59. However, values outside this range are also accepted. The value of minute is added to the calculated hour, so a negative value specifies minutes before that hour.
Required. Integer expression from 0 through 59. However, values outside this range are also accepted. The value of second is added to the calculated minute, so a negative value specifies seconds before that minute.

In This Topic
    TimeSerial Method
    In This Topic
    Returns a Date value representing a specified hour, minute, and second, with the date information set relative to January 1 of the year 1.
    Syntax
    'Declaration
     
    Public Shared Function TimeSerial( _
       ByVal hour As Integer, _
       ByVal minute As Integer, _
       ByVal second As Integer _
    ) As Date
    public static DateTime TimeSerial( 
       int hour,
       int minute,
       int second
    )

    Parameters

    hour
    Required. Integer expression from 0 through 23. However, values outside this range are also accepted.
    minute
    Required. Integer expression from 0 through 59. However, values outside this range are also accepted. The value of minute is added to the calculated hour, so a negative value specifies minutes before that hour.
    second
    Required. Integer expression from 0 through 59. However, values outside this range are also accepted. The value of second is added to the calculated minute, so a negative value specifies seconds before that minute.

    Return Value

    Returns a Date value representing a specified hour, minute, and second, with the date information set relative to January 1 of the year 1.
    See Also