Im actually working in InfoPasth, I have two date pickers and need to record the difference between the two dates selected using Jscript or VB
Please help
i don't know what "InfoPath" is, but the difference between two dates is easy - just subtract them - as long as they are valid date objects.
the result you will receive is the difference in milliseconds. You can then divide by 1000 to get the difference in seconds, then by 60 to get the difference in minutes, then by 60 to get the difference in hours, then by 24 to get the difference in days, etc.
*cLFlaVA
---------------------------- [tt]I already made like infinity of those at scout camp...[/tt]
beware of active imagination: [URL unfurl="true"]http://www.coryarthus.com/[/url]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.