title: convert datetime to timeticks in php and mysql
body: <p>i want to convert datetime.now() to ticks, like is the time is 4:00 PM on june 18th 2010, i want it to be 20100618160000, or some complex number like this. I want to use this number and another field in my database as the primary keys combination to retrieve data. I am using php and mysql so it would be very helpful if someone could send me some code for the same. Thanks. </p>
  
  <p>SJ</p>