Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $_timestamp1 = '1189669351'; my $_timestamp2 = '1189395751'; my $_timebetween = $_timestamp1 - $_timestamp2; # $_timebetween now has 273600 which if I do (273600 / (60 * 60 * 24) +it is 3.1666666666666666666666666666667
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: question about unix timestamps (epoch)
by Limbic~Region (Chancellor) on Sep 13, 2007 at 12:44 UTC | |
|
Re: question about unix timestamps (epoch)
by shmem (Chancellor) on Sep 13, 2007 at 12:52 UTC | |
|
Re: question about unix timestamps (epoch)
by johngg (Canon) on Sep 13, 2007 at 12:52 UTC | |
|
Re: question about unix timestamps (epoch)
by Joost (Canon) on Sep 13, 2007 at 14:44 UTC | |
|
Re: question about unix timestamps (epoch)
by johnlawrence (Monk) on Sep 13, 2007 at 12:49 UTC | |
by ikegami (Patriarch) on Sep 13, 2007 at 13:34 UTC | |
by johnlawrence (Monk) on Sep 13, 2007 at 14:25 UTC | |
|
Re: question about unix timestamps (epoch)
by sanPerl (Friar) on Sep 13, 2007 at 14:55 UTC | |
|
Re: question about unix timestamps (epoch)
by menolly (Hermit) on Sep 13, 2007 at 22:50 UTC |