fixed string to timestamp conversion (try long cast first)