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

Total Post:309

Points:1545
PHP 
PHP
 2258  View(s)
Ratings:
Rate this:
  1. Post:309

    Points:1545
    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");


      Modified On Mar-27-2018 01:35:12 AM

Answer