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

GetDate


Platform Objects


Description

Calling this will return the date the file was made

Syntax


Function GetDate(f_name)

f_name (input) - the name of the file

Return value


This function returns a date in the form of a string

Sample

'---------- Start ----------
Function Start
trg.Message( target.file.GetDate( "C:\TargetFileExample\TargetFileExample.txt" ) )

End Function

See also


Platform Objects and Methods
target.file.Exists
target.file.GetExtension
target.file