code in the language of your choice:
A site has 4,320,000 users. The users are sequentially numbered -- each user has a user_id between 1 and 4320000.
You want to slowly roll out a new feature to all users, at a consistent rate of X users per second. The roll-out should start at noon today, beginning with the newest user (id 4320000). The rollout should last two days, so user_id 1 gets the feature around noon two days from now.
$Write a function to determine whether the feature is currently enabled for a given user_id:
can_use_new_feature(int user_id) -> bool.