sentinel_hawk Posted February 3, 2006 Report Share Posted February 3, 2006 I have all the logic figured out about and the only question I have is if there is a command to check to see if a user prompted date if that date is older than either 90 days or say a year old. Is Ifvariable using Boolean operators going to work for dates or do I need to change it to days? Just looking for an easy option without having to dowload the functions that are mentioned in other threads. Quote Link to comment Share on other sites More sharing options...
randallc Posted February 4, 2006 Report Share Posted February 4, 2006 Hi, More "MacroExpress" friendly, you can just import the DateDiff.mxe, gives date difference as %N1% (using vbscript) if your local dates are "MM/DD/YYYY" instead of "DD/MM/YYYY" you will need to adjust lines 3 and 4 Date/Time: Save "dd/MM/yyyy" into %T11%Date/Time: Save "dd/MM/yyyy" into %T11% Then you can simply "If variable" compare on %N1% Best, Randall DateDiff.mxe Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.