Prikazi cijelu temu 26.07.2013 00:24
zxz Van mreze
Administrator
Registrovan od:03.02.2009
Lokacija:Tuzla


Predmet:Datum Fajla
PreuzmiIzvorni kôd (Visual Basic):
  1. Function File_Date(strFileName As String) As String
  2.  
  3. On Error GoTo Kraj
  4.        Dim strDate As String
  5.        Dim intcount As Integer
  6.        
  7.        strDate = FileDateTime(strFileName)
  8.        intcount = InStr(1, strDate, " ", vbTextCompare)
  9.        File_Date = CDate(Mid$(strDate, 1, intcount))
  10. Exit Function
  11. Kraj:
  12. MsgBox "Ne postoji Fajl"
  13. End Function

Podrška samo putem foruma, jer samo tako i ostali imaju koristi od toga.