modified timestamp() to return string and check for clock functionality