Problem with time function- Base time reference.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Generally speaking such values in seconds are in seconds since The Epoch
(Jan 1 1970 GMT).

On 6/17/11 10:24 PM, Jorge wrote:
> Hello:
>
> I would like to delay a process so I am using this function to
> calculate the delay I should use pj_gettimeofday. I have read the
> documentation :
>
> pj_status_t
> <http://www.pjsip.org/pjlib/docs/html/group__PJ__BASIC.htm#gab43ba3167bd2a2ab4580509dbf79200e>
> pj_gettimeofday 	( 	pj_time_val
> <http://www.pjsip.org/pjlib/docs/html/structpj__time__val.htm> * 
> /tv/ 	 )  	
>
> Get current time of day in local representation.
>
> *Parameters:*
>
>     	/tv/  	Variable to store the result.
>
> *Returns:*
>     zero if successful. 
>
>
> But what I don?t know which is the base time that this function is
> taken as a reference. Because if it is a day I will have a problem at
> 00:00 h at night.
>
> Could you say to me if it is taken as a reference an hour reference, a
> day reference or a year reference?
>
> Regards
>
> Jorge
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Jens B. Jorgensen
jbj1 at ultraemail.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110617/9085d80a/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux