Get how meny days its been.

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Jmac2501
Pro Scripter
Posts: 76
Joined: Tue Nov 15, 2005 8:11 pm

Get how meny days its been.

Post by Jmac2501 » Tue May 06, 2008 11:15 pm

I need a simple script to tell me how ment days its been from date to date.

exp: from 5/1/08 to 5/6/08, number of days = 6

should be simple enough but its got me stumped...

and help Thanks.

Jesse

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed May 07, 2008 3:44 am

I did a search on "calculate dates", found many links, including an old answer I provided some years ago:

http://www.mjtnet.com/forum/viewtopic.p ... =calculate
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Jmac2501
Pro Scripter
Posts: 76
Joined: Tue Nov 15, 2005 8:11 pm

Post by Jmac2501 » Wed May 07, 2008 5:52 am

lol, I did a search on counting days, and find Days.

Thanks it works great.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts