08-03-2019, 01:18 AM
Hi,
I want to output the properties date created and date modified of a jpg file and I used the script below:
DateTime t
FileGetAttributes("$desktop$\test\1.jpg" 0 t); err out _error.description; ret
t.UtcToLocal;
str st=t.ToStr(4)
out "created=%s modified=%s" st
However, the output does not display the accurate date in which the image was created neither displays any difference between date created and date modified.
Could someone tell what is wrong in the script above?
Thank you,
Emerson
I want to output the properties date created and date modified of a jpg file and I used the script below:
DateTime t
FileGetAttributes("$desktop$\test\1.jpg" 0 t); err out _error.description; ret
t.UtcToLocal;
str st=t.ToStr(4)
out "created=%s modified=%s" st
However, the output does not display the accurate date in which the image was created neither displays any difference between date created and date modified.
Could someone tell what is wrong in the script above?
Thank you,
Emerson