gstylianou
Registered User.
- Local time
- Today, 17:51
- Joined
- Dec 16, 2013
- Messages
- 359
Good Evening,
I have two dates, date A = 01/01/2023 and date B = 12/12/2022. I would like to break into it
1. Days (ie for A =01 and B=12)
2. Months (A=01 and B=12)
3. Year (A=2023 and B=2022)
The issue is
There is an external .txt file which include the first date (A) and I have the B date into my DB. I need the following
1. If the year is the same between A & B dates (for example 2023) i must get the result [Date1]=True and vice versa [Date1]=False when are not the same year
2. If Date() is more than 365 days away to from the date into .txt file i must receive [Date2]=False or [Date2]=True if is within the range of 365 days..
I would appreciate your help or any idea
I have two dates, date A = 01/01/2023 and date B = 12/12/2022. I would like to break into it
1. Days (ie for A =01 and B=12)
2. Months (A=01 and B=12)
3. Year (A=2023 and B=2022)
The issue is
There is an external .txt file which include the first date (A) and I have the B date into my DB. I need the following
1. If the year is the same between A & B dates (for example 2023) i must get the result [Date1]=True and vice versa [Date1]=False when are not the same year
2. If Date() is more than 365 days away to from the date into .txt file i must receive [Date2]=False or [Date2]=True if is within the range of 365 days..
I would appreciate your help or any idea