ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / DateAndTime Class / DateValue 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
    DateValue Method
    In This Topic
    Returns a Date value containing the date information represented by a string, with the time information set to midnight (00:00:00).
    Syntax
    'Declaration
     
    Public Shared Function DateValue( _
       ByVal stringDate As String _
    ) As Date
    public static DateTime DateValue( 
       string stringDate
    )

    Parameters

    stringDate
    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 date information represented by a string, with the time information set to midnight (00:00:00).
    See Also