title: Accessing an explicit conversion operator from F#
body: <p>I am getting the following error when reading date values out of postgresql using npgsql:</p>
  
  <pre><code>This expression was expected to have type
      DateTime    
  but here has type
      NpgsqlTypes.NpgsqlDate  
  </code></pre>
  
  <p>Now the npgsql docs refer to an explicit operator being defined:</p>
  
  <pre><code>[C#]
  public static explicit operator DateTime(
      NpgsqlDate date
  );
  </code></pre>
  
  <p>but I can't figure out how to access this from F#.  </p>
  
  <p>There are several kludgy, longhand ways of achieving what I need, but I am disappointed and frustrated that I was unable to find a way of accessing the inbuilt cast.  </p>
  
  <p>I tried the old Convert.ToDateTime(...), but even that doesn't work.</p>
  
  <p>Anybody got a clue?  Thx.</p>