This worked for me.
For start_date=“10/1/2024”
Sign_date=“9/25/2024”
I got the difference 6.
Is it fine? The logic is working I think?
This worked for me.
For start_date=“10/1/2024”
Sign_date=“9/25/2024”
I got the difference 6.
Is it fine? The logic is working I think?
Yes, please refer to screenshots of the variable panel in my earlier post.
This will work most of the time. It is recommended NOT to use CDate
for conversion in production, if you don’t have control over the format of the input date string or can not positively predict where the process will be running. Though both CDate
and ParseExact
produce the same result, as a developer you want to make it clear in the code that you expect the input to be in a particular format. This will often make it easier for the next person reviewing the code.
For example
10/2/2024 can be 10 Feb 2024 or 2 Oct 2024, depending on where you are and how the computer running the process is configured.
Thank You . It worked
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.