helper datetime interval error