I'm making a file renamer for jpg files using someone elses EXIF extraction function.
Everything is going great except for when I try to do evals on the date.
I pick a photo file and I get back a string of '6/17/2011 6:12 PM' that I StringSplit with "/ :" so all the numbers get placed into an array like:
0 - 6
1 - 6
2 - 17
3 - 2011
4 - 6
5 - 12
6 - PM
Now when I do...
if $aTimestamp[2] < 10 then $aTimestamp[2] = "0" & $aTimestamp[2] ; Day
I should get back:
2 -