ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Random Number (Previous, Current, Next) if Same number be another number

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Scott McGee
Random Number (Previous, Current, Next) if Same number be another number
on Sep 8, 2017 at 8:23:08 am

I am using

D = new Date(Date(0));
D = new Date(D.getTime()+0*24*60*60*1000);
A = (D.getDate());

At the moment I've used a slider to scrub through each day and any that repeat again, I've just accommodated by telling it to equal something else.

Is there an easier way so that if the previous, current or next day have the same number it will equal a new random number?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]