Datetime to string conversion in batch_upload