Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

NUM & NOW function in qlikview

LET vRuntime=num(now());


what is the meaning of above expression which is highlighted ?

why we used this expression ?.

28 Replies
qlikview979
Specialist
Specialist

If you get the correct answer Click on Correct answer

i hope this is help full for others.

Regards

Anonymous
Not applicable
Author

let vRuntime1=now();

let vRuntime2=num(now());

both are showing same result.

qlikview979
Specialist
Specialist

Hi ,

Check my above screen shot

let vRuntime1=now();               :- it was showing Date with time format


let vRuntime2=num(now());     :- it was showing Number  format.


if  u replace instead num(now())  with Date(num(now()))   it will give only Date format.

Anonymous
Not applicable
Author

LET vRuntime=Date(num(now()));                                OUTPUT:

let vRuntime1=now();

let vRuntime2=num(now());

qlikview979
Specialist
Specialist

Please share your file.

qlikview979
Specialist
Specialist

Hi,

from your input box remove the 1,2,4 variables then check,

it will give exact result.

Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

still same, but when i  change number properties for rumtime2 is mixed then it shows in number format  whereas runtime1 give the date & time.

qlikview979
Specialist
Specialist

Please share the Application

Anonymous
Not applicable
Author

please check attached file