DIAdem Help

VBScript constant: vbGeneralDate

  • Updated2024-09-12
  • 1 minute(s) read

VBScript constant: vbGeneralDate

Provides, for the FormatDateTime method, a constant for the general date and time format according to your regional settings. The date part uses the short date format and the time part uses the long time format.

Object.vbGeneralDate
ObjectVBS
The constant belongs to the VBS functionality. You do not need to specify this object.
Object.vbGeneralDateVariant with read access
vbGeneralDate has the value 0.

The following example displays the current date and the current time:

Call MsgBox(FormatDateTime(Now, vbGeneralDate))