SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.file‎ > ‎

SetDate


Platform Objects


Description

Sets the date of a file

Syntax


target.file.SetDate(f_name, date)

f_name (input) - the file that you want to change
date (input) - the new date to set

Return value


This function does not return a value.

Sample

'---------- Start ----------
Function Start

target.file.SetDate "C:\FileTestFolder\trgFileSample.txt", "7/23/1997"

End Function

See also


Platform Objects and Methods
target.file.Replace
target.file.Unzip
target.file