Date/Time Difference in Infopath 2007

J

Jules Green

Hello.

I am trying to accomplish this:
http://enterprise-solutions.swits.net/infopath/date-time-difference-calculations-vbscript.htm
without using VB code because the code in that article is not compliant with
Infopath 2007 when trying to upload it to a Sharepoint site. The next best
solution is
http://enterprise-solutions.swits.net/infopath/time-calculations-using-rules.htm
which is perfect, but is only for time. I need the calculation to be DATE and
TIME like the previous article, not just time. Can that be accomplished
without using custom code?

Thanks.
 
S

S.Y.M. Wong-A-Ton

Sorry, there isn't a codeless solution for date+time. If script does not work
for you, you'll have to write code in either C# or VB.NET. You should be able
to find date difference calculation code using .NET by doing a Google search.
 
J

Jules Green

Thank you very much S.Y.M Wong A Ton......without your work, this idea in
general would not have been an option for me.
--
 
S

S.Y.M. Wong-A-Ton

You're welcome!
---
S.Y.M. Wong-A-Ton


Jules Green said:
Thank you very much S.Y.M Wong A Ton......without your work, this idea in
general would not have been an option for me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top