RosettaCodeData/Task/File-modification-time/PureBasic/file-modification-time.purebasic

4 lines
243 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
Debug FormatDate("%yyyy/%mm/%dd", GetFileDate("file.txt",#PB_Date_Modified))
SetFileDate("file.txt",#PB_Date_Modified,Date(1987, 10, 23, 06, 43, 15))
Debug FormatDate("%yyyy/%mm/%dd - %hh:%ii:%ss", GetFileDate("file.txt",#PB_Date_Modified))