This field is required.
Only these extensions are allowed(.jpg, .JPG, .jpeg, .JPEG, .gif, .GIF, .png, .PNG)
Tags cannot contain the characters ' /, \\, #, ?, or ; >,< '
Only these extensions are allowed(.zip,.ZIP,.pdf,.PDF,.qvf,.QVF,.qvw,.QVW)
Discussion Board for collaboration related to QlikView App Development.
Hi, how do i find the time interval between 2 columns, datecreated and dateconfirmed, and extract the minutes? Thanks.
Try like this
Interval(DateConfirmed - DateCreated , 'mm')
View solution in original post
The following expression will give a correct numeric value:
(dateconfirmed - datecreated) * 24 *60
An alternative is to keep the difference in days (an hour is then 1/24), but format it in minutes:
Note that the format code is case sensitive.
if the two columns, datecreated and dateconfirmed are already formatted as timestamps, you can add the following expression:
'MM' will give a month interval, 'mm' will give minute interval.
Thanks for your reply. I didn't notice that.
Time() is quite different to Interval(). Time(value, 'mm') will format to display the minute number of the current time, while Interval(value, 'mm') will show the number of minutes in value.
Time(1.55, 'mm') displays 12 (for a time of day of 13:12:00)
Interval(1.55, 'mm') displays 2232 (number of minutes in 1.55 days)