title: How to encode a datetime in delphi
body: <p>I know how to use encodedate in Delphi to encode individual YY, MM and DD into a datetime field or use encodetime to encode individual HH, SS, MM and MS into datetime field but is there a way to specify both date and time into a datetime field?</p>
  
  <p>Coz with encodedate I cannot specify the time and with encodetime I cannot specify the date...</p>
  
  <p>e.g. how can I set a datetime field to 2009-11-28 14:23:12.000</p>
  
  <p>Please help.</p>
  
  <p>Thanks.</p>