Time property

Microsoft Visio Developer Reference

Time property

   Example   

Returns the most recently recorded date and time.

Version added

2002

Syntax

dateRet = object.Time

dateRet

Date. The current date and time.

object

Required. An expression that returns a Document object.

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.

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.