How to get seconds from current date using date function ?

Answer Posted / sunil kumar

date("s")

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are static variables final?

516


Tell me is it possible to protect special characters in a query string?

489


How to find datatype of variable in php?

516


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

574


What is varchar mysql?

566






Why is php used?

560


Explain the casts allowed in PHP?

575


Explain about the connective abilities of the PHP?

594


Tell me what is the difference between exception::getmessage and exception::getline?

501


Do you know what is the use of rand() in php?

533


Explain which cryptographic extension provide generation and verification of digital signatures?

519


Tell me will a comparison of an integer 12 and a string "13" work in php?

646


What is the purpose of basename() function in PHP?

591


What is list in PHP?

636


What is a closure in php?

531