Return a valid datetime obj. for datestamp instead of a string

Simple fix, just converting the datestamp to a valid datetime obj. instead of returning a string.