Windows to Linux Porting - timeCreated and timeLastAccessed

Jesse Phillips Jesse.K.Phillips+D at
Mon May 7 14:31:23 UTC 2018

On Friday, 4 May 2018 at 11:49:24 UTC, Vino wrote:
> Hi All,
>   Request your help, I have a D program written on Windows 
> platform and the program is working as expected, now i am 
> trying to port the same program to Linux, my program use the 
> function "timeCreated" from std.file for Windows hugely where 
> as in Linux we do not have the same function hence planned to 
> use the function "timeLastAccessed" from std.file, so what is 
> the best approach to port the program. I tried the below code 
> but not working, so can you one please guide me on the right 
> method to port the program to linux, below is the example code.

I wouldn't use time created. It can be newer than last modified 
this wholey inacurate. Last accessed could be a much more 
appopriate choice if trying to determine what is important.

More information about the Digitalmars-d-learn mailing list