User:J JMesserly




 * Problem- The string could be a year value only, which is in most cases will be a 4 digit number, but could be even 1 digit. These are ambiguous to #time.  So handle all numeric digit values as a special case and send the rest to normal processing.  Some values will return as numeric eg 1941-12-7 =, so we test if the evaluation equals the string value.  eg:  =


 * This works with non numerics without cumbersome error checking logic. =
 * However the test is not foolproof. EG: possible leading or trailing spaces. EG: =


 * 23








 * demo end date arithmetic with appropriate precision adjustment: -