Small company logo:
   History
 
Advertising banner:
 
 TimeValue
Home • Help • Customization Tools • FCAS • Language Reference • TimeValue
 
Purpose
Returns a date data type, given a string argument.
Syntax
TimeValue (StringExpression)


StringExpression
Any string expression that represents a valid time.
If an invalid time string has been specified, the system will display an error.

Example
Sub Main()
        Dim mytimestr As String
        Dim mymeeting As Date
        mytimestr = "2:15:00 PM"
        mymeeting = TimeValue(mytimestr)
        Print "I have a meeting at: ",mymeeting
End Sub