Unicode Controls & Classes for VB6 - Version 4

clsUniFile.st_GetFileDate Method

Returns Datetime info about a specified file

Syntax
Public Sub st_GetFileDate (ByVal sPathFileName As String, _
ByVal iDateType As eSearchFileFInfoDate, _
ByRef iDay As Long, _
ByRef iMonth As Long, _
ByRef iYear As Long, _
Optional ByRef iHour As Long = 0, _
Optional ByRef iMinute As Long = 0, _
Optional ByRef iSecond As Long = 0, _
Optional ByRef iMilliSeconds As Long = 0, _
Optional ByRef iDayOfWeek As Long = 0)
Parameters
Parameter Description
ByVal sPathFileName As String The file to read for information
ByVal iDateType As eSearchFileFInfoDate Type of datetime to check
ByRef iDay As Long (OUT) Days
ByRef iMonth As Long (OUT) Months
ByRef iYear As Long (OUT) Years
Optional ByRef iHour As Long = 0 (OUT) Hours
Optional ByRef iMinute As Long = 0 (OUT) Minutes
Optional ByRef iSecond As Long = 0 (OUT) Seconds
Optional ByRef iMilliSeconds As Long = 0 (OUT) Milliseconds
Optional ByRef iDayOfWeek As Long = 0 (OUT) DayOfWeek
Remarks
Similar to the [clsSearchFilesFInfoAL.GetFileDate] method