获取文件/文件夹创建时间
2023-01-24 09:16:15 最后更新
//Code By xiaoyi
mian.iyu
s path = "/storage/emulated/0/iApps/Projects/com.four.books/res/hb.jpg"
call(time,"mlua","get.getDate",path,long,"yyyy-MM-dd HH:mm")
us(3,"text",time)
get.mlua
function getDate(path,long,type)
  require "import"
  import "java.io.*"
  import "java.text.*"
  import "java.util.*"
  file = File(path)
  type = SimpleDateFormat(type)
  return type:format(file:lastModified())
end