VTLFormat
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 21 August 2020 01:33 PM

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


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions