title: Determine if DataColumn is date only
body: <p>I have a DataTable object and can access its Columns collection.
  For each item of this collection I need to determine the type of the column and return it as one of the following string: 'string' 'number' 'boolean' 'date' 'datetime' 'timeofday'.</p>
  
  <p>So I do something like the following:</p>
  
  <pre><code>foreach (DataColumn column in table.Columns) {
    string colType = DermineColumnType(column);
  }
  
  . . . . 
  
  string DeterminColumnType(DataColumn column) {
    Type sysType = column.DataType
    if (sysType == typeof(Boolen)
        return "boolean";
    else if (sysType == typeof(Decimal) || sysType == typeof(Double) || sysType == typeof(Int32) ...)
        return "number";
    . . . . . . 
    else
        return "string";
  
  }
  </code></pre>
  
  <p>The problem is with 'date', 'datetime' and 'timeofday' values - I can't find any information in DataColumn class which allows me to determine whether this column is defined in database table as just "date", "time" or "datetime". 
  DataType property of DataColumn class always returns System.DateTime type for all these cases. 
  Is there any way to get this information based only on DataColumn and/or DataTable objects, without executing additional SQL statements?</p>