Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
// version 1.0.6
|
||||
|
||||
import java.io.File
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val filePath = "input.txt" // or whatever
|
||||
val file = File(filePath)
|
||||
with (file) {
|
||||
println("%tc".format(lastModified()))
|
||||
// update to current time, say
|
||||
setLastModified(System.currentTimeMillis())
|
||||
println("%tc".format(lastModified()))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue