convert datetime values to string. issue #348