I have two attributes, effect_date,next_effect_date. I have to calculate the difference between these two dates in days. what will be the dql query? Please Help
to calculate number of days between two dates in dql documentum
2.5k views Asked by Yalisai At
1
Use this query for
dm_document
and date propertiesr_creation_date
andr_modify_date
which are generic object type & attributes:When you specify object type name we can adjust this query. Syntax for DATEDIFF function is
DATEDIFF(date_part, date1, date2)
Result value depends on DB under your repository. From documentation: