Python Forum
Getting Correct Creation Time
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Correct Creation Time
#6
(Aug-11-2020, 04:04 AM)bowlofred Wrote: Now that I'm back near my windows machine, I can't reproduce this. I'm getting the same value for ctime as I do in explorer for creation time.

The dates are the same as seen in the command prompt with dir /t:c (create time) and dir /t:w (write time).

Is your file on a regular NTFS volume, or maybe it's a thumb drive that only has a FAT filesystem?

It's data that was originally created on an iPhone... copied to an external HD... and now copied from THERE to a Windows 10 laptop HD.

I haven't used "str(datetime.fromtimestamp(os.path.getctime("jsony.py")))" before. That might be the key to solving my issue.

Thanks for the help!
Reply


Messages In This Thread
Getting Correct Creation Time - by JohnVogel - Aug-10-2020, 04:51 PM
RE: Getting Correct Creation Time - by bowlofred - Aug-10-2020, 05:27 PM
RE: Getting Correct Creation Time - by JohnVogel - Aug-10-2020, 09:41 PM
RE: Getting Correct Creation Time - by Gribouillis - Aug-10-2020, 05:28 PM
RE: Getting Correct Creation Time - by bowlofred - Aug-11-2020, 04:04 AM
RE: Getting Correct Creation Time - by JohnVogel - Aug-12-2020, 08:17 PM
RE: Getting Correct Creation Time - by bowlofred - Aug-12-2020, 09:00 PM
RE: Getting Correct Creation Time - by JohnVogel - Aug-14-2020, 04:06 PM
RE: Getting Correct Creation Time - by JohnVogel - Aug-14-2020, 05:49 PM
RE: Getting Correct Creation Time - by bowlofred - Aug-14-2020, 06:26 PM
RE: Getting Correct Creation Time - by JohnVogel - Aug-14-2020, 06:45 PM
RE: Getting Correct Creation Time - by bowlofred - Aug-14-2020, 08:04 PM
RE: Getting Correct Creation Time - by JohnVogel - Aug-14-2020, 09:30 PM
RE: Getting Correct Creation Time - by bowlofred - Aug-14-2020, 10:21 PM
RE: Getting Correct Creation Time - by JohnVogel - Aug-17-2020, 03:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to acquire an imported file creation time thunderspeed 4 1,965 Sep-23-2021, 04:27 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020