Created
March 24, 2015 14:52
-
-
Save vvps/58c02baa8d3c3d44b8e3 to your computer and use it in GitHub Desktop.
AHK script to show number of days remaining | Project deadline, etc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#^+?:: ;Winkey + Ctrl + Shift + ? | |
FormatTime, Today,, yyyyMMdd | |
rDays := 20200101 | |
rDays -= Today, days | |
rWeeks := rDays//7 | |
rWeekDays := mod(rDays,7) | |
rWorkDays := rDays - (rWeeks*2) ;Removing Saturdays and Sundays | |
MsgBox, 64, Countdown , %rDays% total days `n%rWeeks% weeks and %rWeekDays% days `n%rWorkDays% workdays approx. | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment