- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi @drewettj - an easy way to do this is to subtract the last run time from the current time and see if its less than 3 days. e.g.
(getCurrentDate().getTime() - getOption("lastRunDate_TECHNICALWORKFLOW").getTime())<=259200000
Date.getTime() returns milliseconds for for 3 days = (3 * 1000 * 60 * 60 * 24) = 259200000 milliseconds
Cheers
darren
Views
Replies
0 Likes
Total Likes