Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

time stamp to date format

Hi,

I have time stamp as a data type in data base. No i want to convert it to date format in Qlikview,if i use date or date# functions in qlikview its showing correct date format.

But when i use that in link table it is not filtering the dates when i select months.

can anyone help me in this...

6 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Try like below

Load

F1,

DATE_TIME,

Date(floor(DATE_TIME)) as Date

F3;

sql select * from table;

Regards

ASHFAQ

tresesco
MVP
MVP

Check if the db dates have the fractional values as well( for time), if so, try using floor() to truncate the fractional part of it, like:

Load

          Date(Floor(DateFromDB)) as Date

Not applicable
Author

Hi

thanks for the reply..

it is converting into the date but when i use this in link table its not working

aveeeeeee7en
Specialist III
Specialist III

Try this

Date(Subfield(Num(YourDateField),'.',1),'DD/MM/YYYY') AS NewDateField

Use Date Format which you want to use.

Hope that works for you.

Regards

Av7eN

PrashantSangle

Hi,

Can you explain little bit more.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
ashfaq_haseeb
Champion III
Champion III

Hi,

Can you post sample app?

Regards

ASHFAQ