Incrementing a date
Posted: 29 Jan 2023, 07:48
I need a script that works more or less like this
Pressing any combination of keys (say F1)
The script asks from which date I want to start (say 20.01.2024)
A loop starts (until I press another key combination (say F2) )
I mark on the screen where I want the date to be written
The date is written
The date is incremented by 1 day (21.10.2024)
The loop continues until F2 is pressed
remark:
The program does not need to deal with years in advance,leap years, or anything similar.
The primary use is to write down 30 consecutive dates from a specific date.
thanks
Pressing any combination of keys (say F1)
The script asks from which date I want to start (say 20.01.2024)
A loop starts (until I press another key combination (say F2) )
I mark on the screen where I want the date to be written
The date is written
The date is incremented by 1 day (21.10.2024)
The loop continues until F2 is pressed
remark:
The program does not need to deal with years in advance,leap years, or anything similar.
The primary use is to write down 30 consecutive dates from a specific date.
thanks