ActiveReports 12
DateValue Method

GrapeCity.ActiveReports.v12 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.
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

Reference

DateAndTime Class
DateAndTime Members