Document.Time property (Visio)
Returns the most recently recorded date and time. Read-only.
Syntax
expression.Time
expression A variable that represents a Document object.
Return value
Date
Remarks
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.