What is the best way to shorten a datetime that includes milliseconds to only have the second?
For example 2012-01-25 17:24:05.784 to 2012-01-25 17:24:05
2012-01-25 17:24:05.784
2012-01-25 17:24:05