Document.Time Property (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the most recently recorded date and time. Read-only.

expression .Time

expression A variable that represents a Document object.

Return Value


The Time property is updated whenever any values are updated in the following: the TimeEdited property, the TimePrinted property, the TimeCreated property, the TimeSaved property, or the NOW function.

In the Date type, the value to the left of the decimal point represents the date, and the value to the right of the decimal point represents the time. For example, the Date value 38000.75 represents 6:00 P.M. on January 14, 2004.

If you convert a Date value to the String type, the date is rendered according to the short date format recognized by your computer. Times are displayed according to the time format (either 12-hour or 24-hour) recognized by your computer.