How to get seconds from current date using date function ?
Answers were Sorted based on User's Feedback
Answer / rupa
date("h:i:s");//get current time
date(s);//get only seconds
Is This Answer Correct ? | 25 Yes | 2 No |
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 many data types are used by php?
What is the difference between ereg_replace() and eregi_replace()?
What is member variable?
How to convert a timezone from one to another ?
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.
How to find a length of a string in php?
What is static method php?
What is MVC structure in Magento?
How do I install php?
What’s the special meaning of __sleep and __wakeup?
Whether One-line comment begin with pound sing(#) in php?
What is php routing?