Simple: change your DB.
Don't store timestamps as strings: store them as DATETIME values - anything else just gives you problems down the line, and wastes space.
While it's possible to convert the timestamp, it needs a lot of dull code to do it:
SELECT CAST(SUBSTRING(TimeStampColumn, 1, 4) + '-' + SUBSTRING(TimeStampColumn, 5, 2) + '-' + SUBSTRING(TimeStampColumn, 7, 2) + ' ' + SUBSTRING(TimeStampColumn, 9, 2) + ':00' AS DATETIME)
And you have to do that every time you want to use it!
Change the DB: always store values in the most appropriate datatype. It saves you a lot of time and effort later.