Comparing dates

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Niroj@Work
Pro Scripter
Posts: 63
Joined: Thu Dec 10, 2009 8:13 am

Comparing dates

Post by Niroj@Work » Tue Apr 27, 2010 9:50 am

Hi,

I want to compare between two dates. Like:
compare between "2009-11-24 17:07:16" and "2009-10-22 17:07:16". need to check whether the date is greater or smaller?

I don't know VB and Macroscheduler does not have such functions. So If you have this code then could you please share here?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Apr 27, 2010 10:38 am

Search the forums for DateDiff
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Niroj@Work
Pro Scripter
Posts: 63
Joined: Thu Dec 10, 2009 8:13 am

Post by Niroj@Work » Fri Apr 30, 2010 5:45 am

Thanks marcus

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