save calendar date on api