Re: How does one get the difference between 2 dates/times and output in seconds?



On 29 Mrz., 16:02, "dhr...@xxxxxxxxx" <dhr...@xxxxxxxxx> wrote:
Hi All,

How does one get the difference between 2 dates/times and output in
seconds?

For example:

20/04/2003 12:43:13

and

20/05/2003 12:56:17

The POSIX-function mktime will be your friend.

search in 'perldoc -m POSIX' for mktime.


hth, Thomas

.