SetTimeValue Method (TextField)
In This Topic
Imposes the specified time format string on the current
TextField, and assigns to it the specified value as time.
The syntax of the format string is similar to .NET format strings. Some examples are "HH:MM" or "H:MM tt".
Syntax
'Declaration
Public Sub SetTimeValue( _
ByVal As System.Date, _
ByVal As System.String _
)
public void SetTimeValue(
System.DateTime ,
System.string
)
Parameters
- value
- The value to assign.
- format
- The format string. Cannot be a null reference (Nothing in Visual Basic) or empty.
See Also