How to change a date format (receiving from the Hub a date type parameter)

If my Qlik date field has the following format "yyyy-MM-dd" and the hub is returning a date with this format "dd.MM.yyyy HH:mm" because of the regional settings. 


You can use this expression to change the format:


DateTime.ParseExact([ReportParameter].[To], "dd.MM.yyyy HH:mm", Nothing).ToString("yyyy-MM-dd")

 


Login or Signup to post a comment