VBScript Reference > Format Category > Format Function |
The Format function is equivalent to its Visual Basic counterpart. See Visual Basic documentation for details.
Format(expression[, format[, firstdayofweek[, firstweekofyear]]])
Argument
expression is any valid expression.
format (optional) is a valid named or user-defined format expression.
firstdayofweek (optional) is a constant that specifies the first day of the week.
firstweekofyear (optional) is a constant that specifies the first week of the year.
Note: The Format function is accessible only if the TData control is used in Visual Basic. It is inaccessible in other environments, for example on a web page. Using it in True DataControl expressions in non-Visual Basic containers will generate error.