[Oriya-group] time stamp

phatak at iopb.res.in phatak at iopb.res.in
Mon Jul 18 13:03:30 IST 2005


Hi,

On Mon, 4 Jul 2005, abhisek mohanty wrote:

> I would like to know about time stamp.......
> if i take the value of time() today in one variable $a and again 
> tomorrow at the same time i take the value of time() function in $b then 
> will the value of $b greater than $a ?
> Or will $a be equal to $b?
> 

If I remember correctly, time() retuns an integer which represents no. of 
seconds elapsed since some zero time ( sometime in 1970 or so ). So $a and 
$b won't be equal. Incidently, this is a good function to call to seed a 
random number generator. 

Phatak

-------------------------------------------------------------------------------

	S. C. Phatak			

	Sachivalaya Marg			ph.(O) (0674) 2301 771 Ex. 210

	Institute of Physics			ph.(H) (0674) 2301 444

	Bhubaneswar 751 005  			email-	phatak at iopb.res.in




More information about the Oriya-group mailing list