How to get seconds from current date using date function ?

Answer Posted / dinesh kumar

datepart(dateinterval.second,now)

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the expansion of LAMP?

623


How to make a class in php?

547


How is it possible to cast types in php?

497


What is printf in php?

534


Where are cookies stored php?

507






Tell me how to retrieve a cookie value?

535


What is the difference between characters 34 and x34?

516


What is the different between count() and sizeof() in php?

520


How to track no of user logged in?

635


What is implode() in php?

613


How to protect special characters in query string?

537


Can constructor be private in php?

545


Explain the three different kinds of Arrays?

657


How do I end a php session?

509


Write a program in php to reverse a number?

548