How to get modified date for file.pls advise
Sub Activity_Create(FirstTime As Boolean)
Log(DateTime.Date(File.LastModified(File.DirRootExternal, "1.zip")))
SetLastModified(File.DirRootExternal, "1.zip", DateTime.DateParse("02/23/2007"))
Log(DateTime.Date(File.LastModified(File.DirRootExternal, "1.zip")))
End Sub
Sub SetLastModified(Dir As String, FileName As String, Ticks As Long)
Dim r As Reflector
r.Target = r.CreateObject2("java.io.File", Array As String(Dir, FileName), _
Array As String("java.lang.String", "java.lang.String"))
Log(r.RunMethod4("setLastModified", Array As Object(Ticks), Array As String("java.lang.long")))
End Sub