lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,

 

Just to be sure:

 

When I request the file date with lfs.attributes(some_file_path, “modification”), I get a number in return.

If I format it with os.date(), depending on my format string starting with “!” or not, I get correct values. By this I mean that without the “!” I get the local time, and when using “!” I get UCT time.

 

Therefore, the numeric value I got in the first place is expressed in local time. Am I right?

 

 

Benoit.