DATE Function (VisioShapeSheet)

Office 2013 and later

Last modified: March 09, 2015

Applies to: Office 2013 | Visio 2013

In this article
Syntax
Example 1
Example 2
Example 3

Returns the date represented by year, month, and day formatted according to the short date style in the system's Regional Settings. The values for year, month, and day reflect the Gregorian calendar.

DATE(year,month,day)

Parameters

Name

Required/Optional

Data Type

Description

year

Required

Integer

The year.

month

Required

Integer

The month.

day

Required

Integer

The day.

DATE(1999,6,7)

Returns the value representing 6/7/1999.

DATE(1999,6,7) + 4 ed.

Returns the value representing 6/11/1999.

FORMAT(DATE(1999,10,14),"C")

Returns the value representing Tuesday, October 14, 1999.

Show: