Home > DeveloperSection > Interviews > How can we get second of the current time using date function?

Posted on    August-24-2011 1:31 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  1225  View(s)
Rate this:

Arun Singh

Total Post:310

Points:1550
Posted on    August-24-2011 12:00 AM

To get second of the current time using date function writes the following code.

$second = date("s");



Don't want to miss updates? Please click the below button!

Follow MindStick