How to compare UTCDATETIME with DATE only in reports Filter
public class ReportRun extends ObjectRun
{
DialogField DialogFromDate;
DialogField DialogToDate;
DialogField DialogPaymId;
UtcDateTime FromDate;
UtcDateTime ToDate;
Name PaymId;
}
public boolean getFromDailog()
{
;
fromDate = clrSystemDateTime2UtcDateTime(dialogFromDate.value());
todate = clrSystemDateTime2UtcDateTime(dialogTodate.value() + 1);
PaymId = DialogPaymId.value();
return true;
}
public class ReportRun extends ObjectRun
{
DialogField DialogFromDate;
DialogField DialogToDate;
DialogField DialogPaymId;
UtcDateTime FromDate;
UtcDateTime ToDate;
Name PaymId;
}
public boolean getFromDailog()
{
;
fromDate = clrSystemDateTime2UtcDateTime(dialogFromDate.value());
todate = clrSystemDateTime2UtcDateTime(dialogTodate.value() + 1);
PaymId = DialogPaymId.value();
return true;
}
No comments:
Post a Comment