Updates
Convert MySQL date to UNIX timestamp
Here is a simple function to convert MySQL date format to UNIX timestamp
<?php
// from MySQL to UNIX timestamp
function convert_datetime($str)
{
list($date, $time) = explode(' ', $str);
list($year, $month, $day) = explode('-', $date);
list($hour, $minute, $second) = explode(':', $time);
$timestamp = mktime($hour, $minute, $second, $month, $day, $year);
return $timestamp;
}
?>
Misc Links, Resources
Upperhost best web hostingHobby Projects
Under development:feedpixel.com - Feeding Your Pixels :-)
Sexy URL!
TAXI CMS Booking System
WebShop, Project Manager, Support System.
Recommended
- Consider Big John Design for your more difficult coding requirements. Accessibility is a given. Fast bug-busting a speciality.CSS Guru.
- DHTMLgoodies
- coder24.com



