ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / DateAndTime Class / TimeValue Method
Required. String expression representing a date/time value from 00:00:00 on January 1 of the year 1 through 23:59:59 on December 31, 9999.

In This Topic
    TimeValue Method
    In This Topic
    Returns a Date value containing the time information represented by a string, with the date information set to January 1 of the year 1.
    Syntax
    'Declaration
     
    Public Shared Function TimeValue( _
       ByVal stringTime As String _
    ) As Date
    public static DateTime TimeValue( 
       string stringTime
    )

    Parameters

    stringTime
    Required. String expression representing a date/time value from 00:00:00 on January 1 of the year 1 through 23:59:59 on December 31, 9999.

    Return Value

    Returns a Date value containing the time information represented by a string, with the date information set to January 1 of the year 1.
    See Also