adjust date api