- Posts: 35
- Thank you received: 0
Date Difference in Months
8 years 3 months ago #13141
by gia
Date Difference in Months was created by gia
We need to calculate Date Difference in Months, and are using "DateDiff".
Between March 1st 2005 to March 1st 2015 there are 10 years = 120 months. However ETL is returning 119 months, please suggest how to get the correct value.
Between March 1st 2005 to March 1st 2015 there are 10 years = 120 months. However ETL is returning 119 months, please suggest how to get the correct value.
Please Log in or Create an account to join the conversation.
8 years 3 months ago - 8 years 3 months ago #13147
by admin
Mike
ETL Architect
Replied by admin on topic Date Difference in Months
At the moment it returns the approximate number of months between two specified Dates
The approximation based on an assumption of 30.4375 days per month. Fractional months are not counted. Thus, for example it reports the difference between February 1 and March 1 as 0.
To make it work the way you want we would meed to modify our software.
This will no take a lot of time
The approximation based on an assumption of 30.4375 days per month. Fractional months are not counted. Thus, for example it reports the difference between February 1 and March 1 as 0.
To make it work the way you want we would meed to modify our software.
This will no take a lot of time
Mike
ETL Architect
Last edit: 8 years 3 months ago by admin.
Please Log in or Create an account to join the conversation.
8 years 3 months ago - 8 years 3 months ago #13148
by admin
Mike
ETL Architect
Replied by admin on topic Date Difference in Months
Can you try latest version please
5.8.1.0
+ Google spreadsheet API update
+ Support for Salesforce Bulk API was introduced
+ Added MONTH_EXACT to DateDiffS function
+ Zip libraries update
+ Added Search in subdirectories Option to File Operation, Check File and Archive Actions
+ All code related to execution packages was removed from the agent
+ Agent is used for scheduling only now
+ All packages are executed by aetlcl.exe
5.8.1.0
+ Google spreadsheet API update
+ Support for Salesforce Bulk API was introduced
+ Added MONTH_EXACT to DateDiffS function
+ Zip libraries update
+ Added Search in subdirectories Option to File Operation, Check File and Archive Actions
+ All code related to execution packages was removed from the agent
+ Agent is used for scheduling only now
+ All packages are executed by aetlcl.exe
Mike
ETL Architect
Last edit: 8 years 3 months ago by admin.
Please Log in or Create an account to join the conversation.
8 years 3 months ago #13149
by gia
Replied by gia on topic Date Difference in Months
Thank you Mike. We will upgrade and let you know.
Please Log in or Create an account to join the conversation.
8 years 3 months ago #13151
by gia
Replied by gia on topic Date Difference in Months
We have upgraded to 5.8.1.0 and still the date diff in months is returning 119 months between the two above dates,please suggest alternate method for this to work right
Please Log in or Create an account to join the conversation.
8 years 3 months ago #13152
by admin
Mike
ETL Architect
Replied by admin on topic Date Difference in Months
Please post a screenshot so we can see what is going on
Mike
ETL Architect
Please Log in or Create an account to join the conversation.