IFile.

SetLastAccessTimeUtc(DateTime) Method

Summary

Sets the date and time, in Coordinated Universal Time (UTC), that the specified file or directory was last accessed.
Namespace
Cake.Core.IO
Containing Type
IFile

Syntax

IFile SetLastAccessTimeUtc(DateTime lastAccessTimeUtc)

Parameters

Name Type Description
lastAccessTimeUtc DateTime A DateTime containing the value to set for the last access date and time of path. This value is expressed in local time.

Return Value

Type Description
IFile A IFile instance representing the specified path.