HOW CAN WE GET SECOND OF THE CURRENT TIME USING DATE FUNCTION?

Arun Singh

Total Post:310

Points:1550
Posted by  Arun Singh
PHP 
PHP
 1625  View(s)
Ratings:
Rate this:
  1. Arun Singh

    Post:310

    Points:1550
    How can we get second of the current time using date function?

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

    $second = date("s");


Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!