in reply to Re^2: Add timestamp to helpdesk form
in thread Add timestamp to helpdesk form

I would use DateTime to collect and format the stamp. That code will be inserted into the /cgi-bin/helpdesk.cgi script.

As an aside, you would not have formatting issues with your desired post if you wrap it in <code> tags ... see Markup in the Monastery.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^4: Add timestamp to helpdesk form
by boftx (Deacon) on Jul 04, 2014 at 01:08 UTC

    DateTime is overkill for this. strftime (or if you insist, Time::Piece) is a much more lightweight approach. This is IMHO, of course. :)

    You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.