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 us how to set cookies in php?

923


How do you pass a variable by value?

1054


Is array function in php?

1009


How many escape sequences are recognized in single-quoted strings?

921


What are the difference between echo and print?

986


Php being an open source is there any support available to it?

1100


What is php routing?

982


Tell me how can we define a variable accessible in functions of a php script?

938


What is repository in php?

1010


What is php default argument?

1025


Why session is required?

930


What is the use of mysql_fetch_assoc in php?

970


What are the encryption functions in php?

1141


What is associative array in php?

1011


Does php 7 support multiple inheritance?

1008