[Asterisk-Users] queue_log timestamp?
Anton Krall
akrall-lists at intruder.com.mx
Mon Apr 10 14:56:20 MST 2006
If you do php, try this:
<?
$format = '%d/%m/%Y %H:%M:%S';
$strf = strftime($format,$argv[1]);
echo "$strf\n";
?>
Copy the code into program.php
So run it as: php -q progra.php 232313123.2
23232323 been the timestmap you want translated into real date
Hope this helps.
|-----Original Message-----
|From: asterisk-users-bounces at lists.digium.com
|[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Johann
|Sent: Monday, April 10, 2006 4:53 PM
|To: Asterisk Users Mailing List - Non-Commercial Discussion
|Subject: Re: [Asterisk-Users] queue_log timestamp?
|
|It's a unixtime stamp. It's the number of seconds since the
|epoch(Jan 1, 1970).
|
|
|jan.sarin at securia.se wrote:
|> Hi,
|>
|> How do I read (make sense of) the timestamp in the queue_log? I'm
|> probably just slow but I don't understand it.
|>
|> Thanks!
|>
|> Regards,
|> Jan
|> _______________________________________________
|> --Bandwidth and Colocation provided by Easynews.com --
|>
|> Asterisk-Users mailing list
|> To UNSUBSCRIBE or update options visit:
|> http://lists.digium.com/mailman/listinfo/asterisk-users
|>
|>
|_______________________________________________
|--Bandwidth and Colocation provided by Easynews.com --
|
|Asterisk-Users mailing list
|To UNSUBSCRIBE or update options visit:
| http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
More information about the asterisk-users
mailing list