in reply to
date-time into seconds
The format issue goes away when you recognize that "2009-03-05 18:59:11" is a stock format that can be easily converted. The additional 0.674653 is simply a fraction of a second that can be added to an epoch date. That's at the heart of Limbic~Region's approach and every other good approach will be using some variant of this idea.