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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how to initiate a session in php?

1039


How can we encrypt the password using php?

1032


What is the difference server side and browser side validation?

934


Which is useful for method overloading?

1076


How do I escape in php?

938


How to get the position of the character in a string in php?

1034


How we can declare variable in php?

901


List some string function name in php?

931


Tell us how can we access the data sent through the url with the post method?

950


Explain some of the php array functions?

1020


How to invoke a user function?

930


Is it easy to learn php?

901


How to add 301 redirects in PHP?

856


What is php oops concepts?

952


How can you create a session in php?

986