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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
qvqfqlik
Creator
Creator

timestamp

Please help with how to get local time zone in the timestamp

I used ConvertToLocalTime(now())  , but this doesnt seem to be working

eg: 10/19/2017  8:15 AM  EST

21 Replies
sunny_talwar
MVP
MVP

What is the issue? The time zone is not correct?

OmarBenSalem
Partner - Champion II
Partner - Champion II

Juste use localTime()

qvqfqlik
Creator
Creator
Author

localtime() just gives as 10/19/2017 9:00 AM

I also need CST at the end

qvqfqlik
Creator
Creator
Author

I need to print date  time and timezone

eg: 10/19/2017 9:00 AM  CST

sunny_talwar
MVP
MVP

May be just add it like this

LocalTime(now()) & ' CST'

Anil_Babu_Samineni
MVP
MVP

Perhaps this?

=ConvertToLocalTime(UTC(Now()), 'GMT-05:00')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
qvqfqlik
Creator
Creator
Author

still this doesnt show timezone like cst/est/pst etc

qvqfqlik
Creator
Creator
Author

it should dynamically show the time zone based on user system time

eg:  if a user in EST

10/19/2017 11:00 AM EST

10/19/2017 10:00 AM CST

qvqfqlik
Creator
Creator
Author

still this doesnt show timezone like cst/est/pst /ist/gmt 


I got it as 10/19/2017 10:00 AM