Document.TimeSaved Property

Visio Automation Reference

Returns the date and time the document was last saved. Read-only.

Version Information
 Version Added:  Visio 2002

Syntax

expression.TimeSaved

expression   A variable that represents a Document object.

Return Value
Date

Remarks

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.

See Also