Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileTimeToSystemTime does not return SECONDS

Status
Not open for further replies.

kennedymr2

Programmer
May 23, 2001
594
0
0
AU
I am looking at a file on an FTP Server, to get the data of the file.

Dim pData As WIN32_FIND_DATA, hFind As Long, lRet As Long
hFind = FtpFindFirstFile(m_InetConnect, "\rex\k.kkk", pData, 0, 0)

FileTimeToSystemTime pData.ftLastWriteTime, STime

MsgBox (Format(STime.wHour, "####") & ":" & Format(STime.wMinute, "####") & ":" & Format(STime.wSecond, "####"))

I allways get the seconds showing as zero (0)

Is there any way of getting the seconds ???


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top