Here are a few small JavaScript routines, dealing with the time:








Here is the source code.