Jump to content

File modification time: Difference between revisions

(Added Kotlin)
Line 940:
# Set the access and modification times to the current time
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}}==
760

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.