bnj.s wrote:
Hello,

I have a file with lots of times in the format "01:22:33,456", where the numbers after the comma represent the milliseconds.

I would like to reduce all these times by a given offset. [...]

You can use POSIX::mktime to convert the string into a time value, but the milliseconds must be left out.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to