I would disagree and say that this is not a routine. In computing, a routine is
A sequence of instructions for performing a task that forms a program or a distinct part of one.
and in the more liberal sense, it could be
A small section of code intended to perform a specific function. Typically the most optimized form of the code, and used quite often.
If you look at the current routines, they all have something in common in that they are simply a means to an end. For example, the number to string routine. Very rarely will you just be putting a number into a string as the program. Rather, part of the program may be converting the number to a string. Same thing goes with finding the index of the maximum list element, its rare that you will use a program to do that only, but instead it is almost always used as part of another program.
Most programs have no need for a clock, and the ones which have timed aspects to them calculate a future time, and check if the current time is greater or less than that future time. Another thing to note is that routines should work on any calculator unless there is significant value to a routine which only works on certain ones. This is why the routines should all have AfPart(N/A) instead of remainder(N,A). I don’t see enough value in this for other programs for it to be a routine.