BasicProperties.DateModified Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the timestamp of the last time the file was modified.
public:
property DateTime DateModified { DateTime get(); };
DateTime DateModified();
public System.DateTimeOffset DateModified { get; }
var dateTime = basicProperties.dateModified;
Public ReadOnly Property DateModified As DateTimeOffset
Property Value
The timestamp.
Remarks
If the date property isn't set, this value defaults to 0 which can be translated into misleading dates in different programming languages. In JavaScript, for example, 0 translates to December 16, 1600. You should always check that this property is a real value and not 0.