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: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] 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).
|
|
|[EMAIL PROTECTED] 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
|
|

_______________________________________________
--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

Reply via email to