File modification time: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,164:
For file: FILEMTIM.REX
timestamp of last modification: 2015-05-30 14:22:26
</pre>
 
=={{header|Ring}}==
<lang ring>
load "stdlib.ring"
see GetFileInfo( "test.ring" )
 
func GetFileInfo cFile
cOutput = systemcmd("dir /T:W " + cFile )
aList = str2list(cOutput)
cLine = aList[6]
aInfo = split(cLine," ")
return aInfo
</lang>
Output:
<pre>
2017.
08.
27.
10:31
189
test.ring
</pre>
 
2,468

edits