Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to compare both data and time
kkchau
When I try to compare the date & timne parameter input with date in a data field, BIRT compares only date but ignore the time, e.g.:
where2 = " and invbalances.physcntdate BETWEEN " + MXReportSqlFormat.getStartDayTimestampFunction(params["pDueStartDate"])
+ " AND " + MXReportSqlFormat.getEndDayTimestampFunction(params["pDueEndDate"]);
Do you know how to compare both date and time?
Thanks,
Khanh
Find more posts tagged with
Comments
micajblock
What is the type of the parameter pDueStartDate? Is it a Date? or Date Time? Also what version of BIRT are you using?