 
             // Scan for groups of numbers and letters
             // and match them to Date parameters
-            if ("a" <= letter && letter <= "z" ||
-                "A" <= letter && letter <= "Z")
+            if (!("0" <= letter && letter <= "9" ||
+				  letter == "/" || letter == ":" ||
+			      letter == "+" || letter == "-" ||
+				  letter == "." || letter == " "))
             {
                 // Scan for groups of letters
                 var word:String = letter;
                 while (count < len) 
                 {
                     letter = str.charAt(count);
-                    if (!("a" <= letter && letter <= "z" ||
-                          "A" <= letter && letter <= "Z"))
+					if ("0" <= letter && letter <= "9"||
+						letter == "/" || letter == ":" ||
+						letter == "+" || letter == "-" ||
+						letter == "." || letter == " ")
                     {
                         break;
                     }
                     word += letter;
                     count++;
                 }
-
+				
                 // Allow for an exact match
                 // or a match to the first 3 letters as a prefix.
                 var n:int = DateBase.defaultStringKey.length;

        var hour:int = -1;
        var min:int = -1;
        var sec:int = -1;
        
        var letter:String = "";
        var marker:Object = 0;

                }

                // If the current letter is a slash or a dash,
                // assign num to month or day or sec.
                else if (letter == "/" || letter == "-" || letter == ".")
                {
                    if (mon < 0)
                        mon = (num - 1);
					else if (day < 0)
						day = num;
					else if (sec < 0)
						sec = num;
                    else
                        break; //error
                }

                // If the current letter is a colon,
                // assign num to hour or minute or sec.
                else if (letter == ":")
                {
                    if (hour < 0)
                        hour = num;
                    else if (min < 0)
                        min = num;
					else if (sec < 0)
						sec = num;
                    else
                        break; //error
                }
