Backstory:

I install a particular type of Network Attached Storage. If the admin password is forgotten, an override is available. The override is based on the date.

Previously it worked like this;

Today is 17 November 2015; 17 - 11 - 15.

To generate the code you multiply those numbers together, then multiply by 8888; 17*11*15*8888. This gives 24930840. You then take the last 6 digits, and that's what the override password used to be; 930840.

New story;

They have changed the formula. Today is no longer 930840. Today, 17/11/15 (17/11/2015?) is 700924.

What's the new formula? And more importantly, how did you solve it? I don't know how to create a formula that only considers the last 6 digits.