| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | Finding difference between dates. Im using mktime to find current time and time in 24 hours. Now, I need to be able to tell the user how much more time is left until the 24 hours are up, so I have this after subtracting the 2 dates. so say I have this 59246 how can I tell how many more hours minutes and seconds are left until 24 hours have expired? |
| |
| | #3 (permalink) |
| Senior Member | if you are using mktime to find the value of this precise time and the time in 24 hours the difference will always be 24 hours.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #4 (permalink) |
| NamePros Member | If you haven't checked this out already, you may find it really helpful: http://php.net/date There are some great tips for date calculations in the user suggestions. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding a Good DeaL? Or GOt A a good Deal? | Jokez Guy | For Sale / Advertising Board | 0 | 11-27-2004 01:31 PM |
| Finding an Enduser | NineASpades | Domain Newbies | 11 | 09-18-2004 02:38 AM |
| value difference on .com.cn & .cn | Guppy | Domain Name Discussion | 4 | 10-29-2003 02:30 PM |