Tag Archives: timestamp

jQuery DataTables – sort by date using timestamp data attribute

DataTables is an awesome “do-it-all” table plugin for jQuery. I was trying to display a locally formatted date but should still be sorted correctly. Current plugins may not work since it the date format uses long date format like “20 … Continue reading

Posted in JavaScript, Web Development | Tagged , , | 2 Comments

PHP – Setting and Getting Timestamp from DateTime Object below PHP 5.3.x

So we solved the timezone problem using PHP’s timezone aware DateTime class right? And you love working on UNIX timestamp/UTC but as to your surprise, you cannot set or get timestamp to a DateTime object on version below PHP 5.3.x. … Continue reading

Posted in php | Tagged , , , | Leave a comment