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

Posted over 1 year ago by Emma Camacho

Post a topic
Emma Camacho
Emma Camacho Admin

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")

 


0 Votes


0 Comments

Login or Sign up to post a comment