Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
swatiras
Contributor
Contributor

Formatting Dates

Hi ,

I am using below function to format date :

Date(MY_DATE,'DD-MMM-YYYY') AS MY_DATE

I store this in a qvd

When i load the qvd , and put this date column in a table box , the format appears as :

M/DD/YYYY 12:00:00 AM

Please help

5 Replies
vinieme12
Champion III
Champion III

try below

Date(FLOOR(MY_DATE),'DD-MMM-YYYY') AS MY_DATE

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable

You can change the format settings under 'Number' tab in the properties of the table box at front end, though it showed in different format. please try to change.

tresesco
MVP
MVP

QVD probably doesn't store the formatting information. (I think, I read somewhere in this community, and never tested myself being that lazy..). You could perhaps, use the formatting when it is actually being used in the script around the variable.

its_anandrjs

Can you share your sample app with limited loads to have a look for the solution.

sunny_talwar

What format do you have for your environmental variables?

Capture.PNG

Change this to

SET DateFormat='DD-MMM-YYYY';