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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
khasimvali85
Creator II
Creator II

Date Conversion Problem

Hi Community,

Can any body solve this Error when i connect to data base Table showing error like

''ErrorSource: Microsoft OLE DB Provider for SQL Server, ErrorMsg: Conversion failed when converting date and/or time from character string.''

I Change Given format below

,Convert(Varchar,[Date_Field],103) as Date_Field   is it right?

Thanks in Advance

Regards,

Khasim.

20 Replies
Not applicable

Hello, I had a similar problem ...

103 is the code for the date format: DD / MM / YYYY

101 is the code for the date format: MM / DD / YYYY

if the date stored in your database is 101 format and want to convert to 103 you will have a format error.

Test format conversion at 101 ...

I hope to help you, greetings.