Using Actuate BIRT Viewers : Functions and operators : DIFF_MINUTE( )
 
DIFF_MINUTE( )
Calculates the number of minutes between two date values.
Syntax
DIFF_MINUTE(date1, date2)
Arguments
date1
The first date or date expression to use in the calculation. If the date does not have a time value, the function assumes the time is midnight, 12:00 AM.
date2
The second date or date expression to use in the calculation. If the date does not have a time value, the function assumes the time is midnight, 12:00 AM.
Returns
The number of minutes between date1 and date2.
Example
The following example calculates the number of minutes between each value in the startTime data field and each value in the finishTime data field:
DIFF_MINUTE([startTime],[finishTime])
The following example calculates the number of minutes from the current date to Christmas. NOW( ) is a function that returns the current date and time. If you supply a literal date as an argument, you must include the time value, as shown in the following example:
DIFF_MINUTE(NOW(), "12/25/08 12:00 AM")