The following routine makes use of the latest function "JulianToDate", which combined with the older "DateToJulian" function make most date arithmetic a simple case of converting to Julian dates performing the calculation, then converting back to a traditional "Gregorian" date. The routine finds the next working day, on the simple basis that "Saturday" and "Sunday" are the only non-working days. The routine does not validate the input date. However, this function could be added by using the "Validdate" function.