in reply to Re: How To Modify PDF Metadata
in thread How To Modify PDF Metadata [SOLVED]
Thank you very much hippo for advice.
For my rehabilitation i would like to say that i was a bit confused about this issue. I observed different behavior of my code on Win, Linux and Mac. And the various timestamp formats that one can pass to PDFs are a mess and put me over the edge. Perhaps i didn't see the basic problem and jumped to some wrong conclusions ;-).
For completeness:
"$mday is the day of the month and $mon the month in the range 0..11..."
karls-mac-mini:monks karl$ perl -E '$day=(localtime)[3]; say $day;' 13 karls-mac-mini:monks karl$ perl -E '$month=(localtime)[4]; say $month; +' 5 karls-mac-mini:monks karl$ perl -E '$month=(localtime)[4]; say ++$mont +h;' 6 karls-mac-mini:monks karl$ date +%m 06
Update: I just run my modified code on a PDF created on Win:
CreationDate was 06.06.2015 16:12 and now it is 06.06.2015 18:12.
This crap drives me insane.
Edit: Minor changes. Ain't no fun no more.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How To Modify PDF Metadata
by Laurent_R (Canon) on Jun 13, 2015 at 18:50 UTC | |
by karlgoethebier (Abbot) on Jun 13, 2015 at 21:14 UTC |