format rest args -> date