ActiveReports 12
TimeValue Method

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

Reference

DateAndTime Class
DateAndTime Members