vbscript – VarType
**FUNCTION:** `VarType(var)`
**Description**
Retourne un code numérique décrivant le type Variant.
**Syntax**
`VarType(var)`
**Paramètres**
– *(aucun)*
**Exemples**
« `vb
WScript.Echo VarType(Now)
« `
**Output :** `7 (Date)`
**FUNCTION:** `VarType(var)`
**Description**
Retourne un code numérique décrivant le type Variant.
**Syntax**
`VarType(var)`
**Paramètres**
– *(aucun)*
**Exemples**
« `vb
WScript.Echo VarType(Now)
« `
**Output :** `7 (Date)`
VBScript – Date/Heure
FUNCTION: Abs() Implemented in version 1.0 Abs(Number) The Abs function returns the absolute value for a number. Negative numbers become positive. Positive numbers remain positive. Code: <% =Abs(-127.89) %> Output: 127.89 Code: <% =Abs(127.89) %> Output: 127.89
VBScript – Statements
VBScript – Statements
FUNCTION: CDate( ) Implemented in version 1.0 You can determine the expression subtype by using the function VarType( ). CDate(Date) The CDate function converts any valid date and time expression to the variant of subtype Date. The default date output will be of the format: **/**/** The default time output will be of the format: **:**:** *M…
WSH/FSO – Expressions régulières