title: How to convert c# datetime into oracle timestamp?
body: <p>I am trying to store c# datetime into oracle database as timestamp it is storing without problems, but when i am trying to select data from database for that particular date it is giving me error as not valid month..</p>
  
  <pre><code>DateTime sessiondate =DateTime.Now();
  int userid_int = 101;
  string userTypeis ='ENGINEER';
  
  string get_Log_query = "SELECT LOG_ID FROM JOINTING_LOGIN_LOG where USER_ID="+userid_int+" and USER_TYPE='"+userTypeis+"' and SESSION_START='"+sessiondate+"'";
  </code></pre>