Date

Return the current date.

Syntax
      Date

Examples

dim dtmCreated
dtmCreated = Date

PowerShell equivalent:

$demo = get-date –format d

“Beauty is Nature’s coin, must not be hoarded, but must be current, and the good thereof consists in mutual and partaken bliss” ~ John Milton

Related VBScript commands

DateAdd - Add a time interval to a date.
DateDiff - Return the time difference between two dates.
DatePart
- Return part of a given date.
Now - Return the current date and time.
Time - Return the current system time.


 
Copyright © 1999-2025 windevcluster.com
Some rights reserved