Syntax
Public Function VTLFormat(Expression As Variant, Format As Variant) As String
Description
This function is used to return string containing an expression formatted according to format parameter.
Parameters
Key | Description |
Expression | Any valid expression to be formatted |
Format | User defined format expression |
Return value
Returns the formatted expression as a value of type is String.
Sample
Public Sub main() Dim vDate vDate = VTLFormat(12/5/6,DD/MM/YYYYY hh:nn:ss) End Sub
See Also