javascript add 1 month to current date dd/mm/yyy code example Example: js date format yyyy-mm-dd yourDate.toISOString().split('T')[0]