var repo = new ActiveXObject("RepositoryLib.WorkflowRepository");
var todayISOdate = Watch.ExpandString("%y-%m-%d");
var fields = ["Field1", "Field2","DateC"];
var condition = 'DateC LIKE "' + todayISOdate + '%"';
var ks = repo.GetKeySets("Group1", JSON.stringify(fields), condition);
Watch.Log(ks,2);
The condition DateC LIKE "2023-07-04%" uses the % wildcard so that any date that starts with the specified date is included in the query results.