Getting unexpected result in strtotime and date function

bhguyz

New Member
\[code\]$selectedDate = "1365465600";echo $selectedDate;//Output : 1365465600echo date("Y-m-d",$selectedDate);//Output : 2013-04-09echo strtotime(date("Y-m-d",$selectedDate));//Output : 1365445800\[/code\]Why the last statemet didn't produce the output as: 1365465600What is wrong here.How will I get such a result?
 
Top