How to get seconds from current date using date function ?

Answers were Sorted based on User's Feedback



How to get seconds from current date using date function ?..

Answer / suma

date("s")

Is This Answer Correct ?    63 Yes 4 No

How to get seconds from current date using date function ?..

Answer / rupa

date("h:i:s");//get current time
date(s);//get only seconds

Is This Answer Correct ?    25 Yes 2 No

How to get seconds from current date using date function ?..

Answer / kumaresan

date("s")

Is This Answer Correct ?    13 Yes 2 No

How to get seconds from current date using date function ?..

Answer / sunil kumar

date("s")

Is This Answer Correct ?    6 Yes 3 No

How to get seconds from current date using date function ?..

Answer / ghan shyam

by using date function like :
date("s",time());

or
date("s",strtotime("$dt")); for given date in $dt

Is This Answer Correct ?    1 Yes 4 No

How to get seconds from current date using date function ?..

Answer / meena mojaaila

date

Is This Answer Correct ?    0 Yes 7 No

How to get seconds from current date using date function ?..

Answer / dinesh kumar

datepart(dateinterval.second,now)

Is This Answer Correct ?    1 Yes 10 No

How to get seconds from current date using date function ?..

Answer / saritha

date('y-m-d')

Is This Answer Correct ?    2 Yes 33 No

Post New Answer

More PHP Interview Questions

How many data types are used by php?

0 Answers  


What is the difference between ereg_replace() and eregi_replace()?

2 Answers   Quicknet,


What is member variable?

0 Answers  


How to convert a timezone from one to another ?

1 Answers  


hi,am a fresher in sap sd,will i try as a fresher or i wl go for with 2 to 3 yr exp,pls suggest me which web site is best for sap freshers.

0 Answers  


How to find a length of a string in php?

1 Answers  


What is static method php?

0 Answers  


What is MVC structure in Magento?

4 Answers  


How do I install php?

0 Answers  


What’s the special meaning of __sleep and __wakeup?

0 Answers  


Whether One-line comment begin with pound sing(#) in php?

2 Answers  


What is php routing?

0 Answers  


Categories