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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
NickHoff
Specialist
Specialist

QVC - Timestamp# and Date

I've been experimenting with the Qlikview components extension, in particular for the calendar feature.  I know how to solve this problem without QVC both in Qlikview and modifying the original query, but I'm looking for a solution which utilizes QVC.

I have a date field which has date in two formats 'YYYY-MM-DD hh:mm:ss.fff' and 'm/d/yyyy'.

When calling the following CalendarFromField the only assoication that is created is for the dates 'm/d/yyyy'.  I'd like for the association to happen on both date formats. How would you accomplish this using QVC?

SET Qvc.Loader.v.DatabaseDatetimeMask = 'YYYY-MM-DD hh:mm:ss.fff';

CALL Qvc.CalendarFromField('InpatientAdmissionOn', Timestamp#)

0 Replies