I'm trying to get this FormCalc calculation to work:
Date2Num (form1.Page1_SF.EffectDates.endDate, "M/D/YYYY") - Date2Num (form1.Page1_SF.EffectDates.startDate, "M/D/YYYY")
Evently, I will divide it by 7 to get the number of weeks, but the initial calculation does not want to work after entering in the dates.
Can you tell me what is wrong with my forumula?
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Odd. Something strange about the Date2Num format. I changed them in the calculation to "YYYY-MM-DD" and it works. Note it is calculating the number of elapsed days.
Views
Replies
Total Likes
Do the date patterns on each date field match the date patterns on your calculation?
Steve
Views
Replies
Total Likes
Yes, here is the date pattern:
date{M/D/YYYY}
I'm looking at your PDF now.
Views
Replies
Total Likes
If you can forward the form to stwalker.adobe@gmail.com I would be happy to take a look.
Steve
Views
Replies
Total Likes
Odd. Something strange about the Date2Num format. I changed them in the calculation to "YYYY-MM-DD" and it works. Note it is calculating the number of elapsed days.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies