Base Scripting Language GuideVBScript-Library Custom Scripting FunctionsDateValueOn this pageDateValueReturns a Variant of subtype Date. Structure DateValue(date) Parameters The date argument is any expression that can represent a date.