add 1 year to the current date

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
SKAN
Posts: 1551
Joined: 29 Sep 2013, 16:58

Re: add 1 year to the current date

11 May 2021, 17:47

iPhilip wrote:
11 May 2021, 17:33
I don't know anyone born on February 29 or I would ask them but according to this article,
I see it this way: If one is born on the 60th day of an year, the birthday is on 60th day every year.
The real dilemma should be for the people born on 366th day of the year.

:D
User avatar
mikeyww
Posts: 26885
Joined: 09 Sep 2014, 18:38

Re: add 1 year to the current date

11 May 2021, 18:31

I see it this way: I had one birthday, and all subsequent days are celebrations. :)

Code: Select all

birthday := A_Now
Sleep, 1001
If (A_Now > birthday)
 MsgBox, 64, Result, According to AHK's computations, today is your big day!
iPhilip
Posts: 819
Joined: 02 Oct 2013, 12:21

Re: add 1 year to the current date

12 May 2021, 12:35

SKAN wrote:
11 May 2021, 17:47
I see it this way: If one is born on the 60th day of an year, the birthday is on 60th day every year.
The real dilemma should be for the people born on 366th day of the year.
So, perhaps, we should redefine birthday as the number of days into the year on which one is born (60 for those born on 2/29) and define birthdate as the actual date (2/29). :)
Windows 10 Pro (64 bit) - AutoHotkey v2.0+ (Unicode 64-bit)
just me
Posts: 9453
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: add 1 year to the current date

13 May 2021, 09:22

SKAN wrote:
11 May 2021, 17:47
I see it this way: If one is born on the 60th day of an year, the birthday is on 60th day every year.
The real dilemma should be for the people born on 366th day of the year.

:D

So if your sweet little child would have been born on 2019-03-01 (day 60) its first birthday would have been 2020-02-29 (day 60)?
What a dilemma! ;)
User avatar
SKAN
Posts: 1551
Joined: 29 Sep 2013, 16:58

Re: add 1 year to the current date

13 May 2021, 09:44

just me wrote:
13 May 2021, 09:22
SKAN wrote:
11 May 2021, 17:47
I see it this way: If one is born on the 60th day of an year, the birthday is on 60th day every year.
The real dilemma should be for the people born on 366th day of the year.

:D
So if your sweet little child would have been born on 2019-03-01 (day 60) its first birthday would have been 2020-02-29 (day 60)?
Exactly!
What a dilemma! ;)
No dilemma for me. I follow the sky.
The birthdays of my sweet children will occur on the exact position of constellation every following year. ;)
Can't ignore the gregorian date though. Social media!.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Rohwedder, ruespe and 359 guests