Datetime to Second Conversion


<p>i have two datetime string like this '2010-08-31 04:35:50.176725' and '2010-09-05 04:35:50.176725' . now my question is how calculate seconds between two dates. i used time delta but its return in hour, minute formate. i want compltely in seconds.</p>
