in reply to Re: How To Modify PDF Metadata
in thread How To Modify PDF Metadata [SOLVED]

Time::Piece and DateTime is what you want to use for date math, none of this +1900 stuff

Replies are listed 'Best First'.
Re^3: How To Modify PDF Metadata
by karlgoethebier (Abbot) on Jun 14, 2015 at 17:52 UTC
    "...what you want to use for date math..."

    Yes and no.

    Despite my annoying mistake: I used Date::Calc until someone told me it's API is inferior and that the new kid on the block is much cooler.

    So i crucify myself with the manpage.

    And why should i use .45 if .22 does the job less expensive:

    karls-mac-mini:monks karl$ perl -MPOSIX=strftime -E 'say strftime("%Y +:%m:%d %H:%M:%S%z", localtime() );' 2015:06:14 19:42:10+0200

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»