Promotic
WikipediaLinkedInYoutubeTwitterFacebook

FileGetCreationTime - method of object Pm

Description:
Getting the creation time of the file.
Syntax:
FileGetCreationTime(sFile As String) As Date
Calling:
t = Pm.FileGetCreationTime(sFile)
Parameters:
sFile(String) file name (with the path). If a full path is not entered, it is completed relatively according to the application file folder.

It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.

Return Values:
Returns the time of creation or (in case the file does not exist or is not accessible) the zero value.
Note:
This method is not functional for Web Panels.
Example:
Dim FileTime
FileTime = Pm.FileGetCreationTime("#data:file.txt")
If FileTime Then
  ' The file exists and the FileTime contains its time of creation
Else
  ' The file does not axist or is not accessible
End If
Navigation:
 
- Pm
 
- Abs
- Cos
- E
- Exp
- FileGetCreationTime
 
 
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice