Home »
Unlabelled »
what will the ouptut of below date() function ? <?php $date="2009-5-19"; $time="14:31:38"; $datetime=$date.$time; echo date("Y-m-d:H:i:s",strtotime($datetime)); ?>
what will the ouptut of below date() function ? <?php $date="2009-5-19"; $time="14:31:38"; $datetime=$date.$time; echo date("Y-m-d:H:i:s",strtotime($datetime)); ?>
A. 2009-5-19:14:31:38
B. 2009-5-19:2:31:38
C. 19-5-2009:2:31:38
D. 19/5/2009:14:31:38
Ans: A
No comments:
Post a Comment