How to get ‘Date’ of a file in Python (not creation or last modified date)


This Content is from Stack Overflow. Question asked by Vipasana

While trying to get the date of a file, I see only methods for getting the creation or last modified dates. But Windows has another attribute call ‘Date’ and I can’t find a way of getting this value.

In the picture below you can see the ‘Date’ (rightmost), ‘last modified date’ and ‘creation date’ (I also have no idea how creation date can be later than modification date).

The ‘Date’ field is the one I need.

enter image description here


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?