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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
YADAVSLN
Contributor II
Contributor II

Date conversion

Hi All,

I have date format like :2018-10-23 

it's convert into like :23-10-2018

script level and ui level please let me know.

 

Thanks,

Yadav.

1 Solution

Accepted Solutions
NhanNguyen
Contributor III
Contributor III

So you want to convert to 23-10-2018? If yes, then try: Date(Date#(YourDate, 'YYYY-MM-DD'),'DD-MM-YYYY').

Date#: to tell Qlik the format of your date. 

Date: to tell Qlik how your date should be displayed. 

 

 

View solution in original post

2 Replies
NhanNguyen
Contributor III
Contributor III

So you want to convert to 23-10-2018? If yes, then try: Date(Date#(YourDate, 'YYYY-MM-DD'),'DD-MM-YYYY').

Date#: to tell Qlik the format of your date. 

Date: to tell Qlik how your date should be displayed. 

 

 

juliensaintmaxent3113
Partner - Creator III
Partner - Creator III

hi,

iconfirm the answer of @NhanNguyen.

if the date doesn't work you can use also: DATE(makedate (left(DATE,4),mid(DATE,6,2),right(DATE,2)),'DD-MM-YYYY')

makedate forces the creation of a date

Date changes the format

bye