File.GetModificationTime
Syntax:
Returned value:
Local last modification time of the file.
Description:
Availability:
Note:
To use the method on the web-client, you should preliminarily attach the extension for working with files.
In compatibility mode it contains the local time of the last modification of the file with an NTFS error. If the file was changed in the summer, and is browsed in winter, then 1 hour is added to the obtained time. If the file was changed in the winter and is browsed in the summer, then 1 hour is substracted from the obtained time.
If the compatibility mode is Version8_2_13 or above, then the time is obtained without any errors.
Example:
Selection = New File(FileName); If Selection.GetModificationTime() < BorderDate Then Selection.SetModificationTime(BorderDate ); EndIf; |
See also: