Jump to content

FileGetTime Huge Problem


Markus
 Share

Recommended Posts

Got a big FileGetTime Problem with my photos.

If you watch the properties of the *.jpgs you see 3 dates - created, changed and accessed (windows xp). If you watch the *.jpgs in the explorer, there's one more date, the date the picture was taken. I thought the date "created" would be the same as the date the picture was taken. But ridiculously it isn't!! The "date created" is often newer than the date the picture was changed.... where does windows get those dates from, when the picture was taken, I need to get that date to sort my pictures with Autoit. Is there any chance to get that?

Edited by Markus

"It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output

Link to comment
Share on other sites

Got a big FileGetTime Problem with my photos.

If you watch the properties of the *.jpgs you see 3 dates - created, changed and accessed (windows xp). If you watch the *.jpgs in the explorer, there's one more date, the date the picture was taken. I thought the date "created" would be the same as the date the picture was taken. But ridiculously it isn't!! The "date created" is often newer than the date the picture was changed.... where does windows get those dates from, when the picture was taken, I need to get that date to sort my pictures with Autoit. Is there any chance to get that?

The Date Created is the date the file was created on the disk, not the date the picture was taken. As for the date the picture was taken, what you are most likely seeing is a Date / Time stamp placed on the picture by your camera. In file properties I only see the Created, modified and accessed dates. I don't see a date / time stamp on the image at all because I have that turned off on the camera.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

You might take a look at _FileGetExtProp(), which is just a tweak I did of some good code from Simucal. Read the bottom of that post for some caveats.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...