sql >> Base de Datos >  >> RDS >> PostgreSQL

PostgreSQL:42883 El operador no existe:marca de tiempo sin zona horaria =texto

Necesita convertir valor a timestamp:

var sql = new Sql("WHERE date_created = @0::timestamp", dateCreated.ToString("yyyy-MM-dd HH:00:00"));