Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to get seconds from current date using date function ?

Answers were Sorted based on User's Feedback



How to get seconds from current date using date function ?..

Answer / suma

date("s")

Is This Answer Correct ?    63 Yes 4 No

How to get seconds from current date using date function ?..

Answer / rupa

date("h:i:s");//get current time
date(s);//get only seconds

Is This Answer Correct ?    25 Yes 2 No

How to get seconds from current date using date function ?..

Answer / kumaresan

date("s")

Is This Answer Correct ?    13 Yes 2 No

How to get seconds from current date using date function ?..

Answer / sunil kumar

date("s")

Is This Answer Correct ?    6 Yes 3 No

How to get seconds from current date using date function ?..

Answer / ghan shyam

by using date function like :
date("s",time());

or
date("s",strtotime("$dt")); for given date in $dt

Is This Answer Correct ?    1 Yes 4 No

How to get seconds from current date using date function ?..

Answer / meena mojaaila

date

Is This Answer Correct ?    0 Yes 7 No

How to get seconds from current date using date function ?..

Answer / dinesh kumar

datepart(dateinterval.second,now)

Is This Answer Correct ?    1 Yes 10 No

How to get seconds from current date using date function ?..

Answer / saritha

date('y-m-d')

Is This Answer Correct ?    2 Yes 33 No

Post New Answer

More PHP Interview Questions

<?php include ("db.php"); $result = mysql_query("SELECT ques_id FROM questionbank order by ques_id limit 5 "); while($obj=mysql_fetch_array($result)) { $ad1[$obj['ques_id']]++;//Used an array and inserted the database query results into it. } $rand_keys=array_rand($ad1,1); //Did a random array function echo "First random id = ".$ad1[$rand_keys[0]]; echo "<br>Second random id = ".$ad1[$rand_keys[1]]; ?> <!--Its not working. Have any solution for this. -->

1 Answers  


How big is varchar max?

0 Answers  


What good is polymorphism?

0 Answers  


What software is required for php?

0 Answers  


Do I need to install php after xampp?

0 Answers  


What is static in php?

0 Answers  


Explain the differences between get and post methods?

0 Answers  


Explain php explode() function.

0 Answers  


How to get seconds from current date using date function ?

8 Answers   Sarna Technologies, Satyam,


how can i disable multiple user in the same password in my website using any scripts

1 Answers  


Can we embedded directly PHP code into XHTML document? State Whether True or False?

0 Answers  


What is a php class?

0 Answers  


Categories