datetime string adjustment