File modification time: Difference between revisions
Content added Content deleted
(Added Kotlin) |
|||
Line 940: | Line 940: | ||
# Set the access and modification times to the current time |
# Set the access and modification times to the current time |
||
discard utimes("filename", nil)</lang> |
discard utimes("filename", nil)</lang> |
||
=={{header|Objeck}}== |
|||
Get only |
|||
<lang objeck>use System.IO.File; |
|||
class Program { |
|||
function : Main(args : String[]) ~ Nil { |
|||
File->ModifiedTime("file_mod.obs")->ToString()->PrintLine(); |
|||
} |
|||
}</lang> |
|||
=={{header|Objective-C}}== |
=={{header|Objective-C}}== |