Today   (2020-02-02,   at the time of this writing)   happens to be a palindrome,   without the hyphens,   not only for those countries which express their dates in the   yyyy-mm-dd   format but,   unusually,   also for countries which use the   dd-mm-yyyy   format.



Task
Write a program which calculates and shows the next 15 palindromic dates for those countries which express their dates in the   yyyy-mm-dd   format.




date := 20200202
counter := 0
 
while (counter < 15) {
    date += 1, days
    date := SubStr(date, 1, 8)
    if (date = reverse(date))
    {
        FormatTime, fdate, % date, yyyy-MM-dd
        output .= fdate "`n"
        counter++
    }
}
 
MsgBox, 262144, , % output
return
 
reverse(n){
    for i, v in StrSplit(n)
        output := v output
    return output
}