Output the string date as datetime