[TASK] add date conversion helper