I thought: How about implementing your own functions? You won't have to depend on anything preinstalled on the client then. At least calculating a number from any date is not so difficult. The way back is a bit more complicated but not unsolvable. I did that more than once for my faithful FX-602P (a programmable pocket calculator) and for (Turbo-)Pascal ages ago. Maybe I have the source somewhere or can recreate it from mind if you're interested.