Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

sorting in a table

Posted on 2014-08-15
1
Medium Priority
?
102 Views
Last Modified: 2014-08-15
hi,

I have a table with sorting, but this result:

(($diff->format('%d')*24) + $diff->format('%h')) . ":" . $diff->format('%i');

gives me a text, not a time, so sort not work properly. Is there a way to change this to time?
0
Comment
Question by:joyacv2
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 40263670
This format cannot be a time
What table are you talking about?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month21 days, 6 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question