21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ReportComment(report_number)<br />

Returns the comment of the report with the specified number within the active document.<br />

ReportName(report_number)<br />

Returns the name of the report with the specified number within the active document.<br />

ReportID(report_number)<br />

Returns the id of the report with the specified number within the active document.<br />

ReportNumber(report_id_or_name)<br />

Returns the number of the report with the specified id or name within the active document.<br />

NoOfReports()<br />

Returns the number of reports in the active document.<br />

Back to Other Functions.<br />

Date and Time Functions<br />

In the below examples the default time and date formats hh:mm:ss and YYYY-MM-DD (ISO standard) are<br />

assumed.<br />

second(expr)<br />

Second. Returns an integer representing the second when the fraction of expr is interpreted as a time according<br />

to the standard number interpretation.<br />

Examples:<br />

second( '09:14:36' ) returns 36<br />

second( '0.5555' ) returns 55 ( Because 0.5555 = 13:19:55 )<br />

If the time format used does not correspond to the one set in the operating system, <strong>QlikView</strong> will not be<br />

able to make a correct interpretation. To solve this problem, either change the settings or use the Time#<br />

(page 828) interpretation function.<br />

minute(expr)<br />

Minute. Returns an integer representing the minute when the fraction of expr is interpreted as a time according<br />

to the standard number interpretation.<br />

Examples:<br />

minute( '09:14:36' ) returns 14<br />

minute( '0.5555' ) returns 19 ( Because 0.5555 = 13:19:55 )<br />

If the time format used does not correspond to the one set in the operating system, <strong>QlikView</strong> will not be<br />

able to make a correct interpretation. See above under second(expr) (page 338).<br />

hour(expr)<br />

Hour. Returns an integer representing the hour when the fraction of expr is interpreted as a time according to<br />

the standard number interpretation.<br />

Examples:<br />

hour( '09:14:36' ) returns 9<br />

hour( '0.5555' ) returns 13 ( Because 0.5555 = 13:19:55 )<br />

If the time format used does not correspond to the one set in the operating system, <strong>QlikView</strong> will not be<br />

able to make a correct interpretation. See above under second(expr) (page 338).<br />

338

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!