Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to convert the numeric to datetime in qlikview.
Example,1338815385 should be 6/4/2012 8:09.Can someone help me how this can be achived in qlikview?Thanks.
This is most likely Unix time (See http://en.wikipedia.org/wiki/Unix_time)
In QlikView you can use the following to convert it:
TimeStamp(Makedate(1970,1,1)+UnixTime/24/60/60) as Time
HIC
What are the rules? How do you convert it manually? In any case it should be possible using timestamp#(), or string functions, or some calculations, or combination of all above.
Regards,
Michael
This is most likely Unix time (See http://en.wikipedia.org/wiki/Unix_time)
In QlikView you can use the following to convert it:
TimeStamp(Makedate(1970,1,1)+UnixTime/24/60/60) as Time
HIC
If it already is a numeric you can just type Date infront of your variable/column
If you need timestamp, you should type timestamp(date(column)
Thanks for all these responses.