code: public Date getDateTime(int field) throws MPXJException
     {
        Date result = null;
  
        if ((field < m_fields.length) && (m_fields[field].length() != 0))
        {
           try
           {
              result = m_formats.getDateTimeFormat().parse(m_fields[field]);
           }
  
           catch (ParseException ex)
           {
              // Failed to parse a full date time.
           }
  
           //
           // Fall back to trying just parsing the date component
           //
           if (result == null)
           {
              try
              {
                 result = m_formats.getDateFormat().parse(m_fields[field]);
              }
  
              catch (ParseException ex)
              {
                 throw new MPXJException("Failed to parse date time", ex);
              }
           }
        }
  
        return result;
     }
docs: Accessor method used to retrieve an Date instance representing the
  contents of an individual field. If the field does not exist in the
  record, null is returned.
  
  @param field the index number of the field to be retrieved
  @return the value of the required field
  @throws MPXJException normally thrown when parsing fails