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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

select the date number

hi, I want to return the value of D in  M/D/YY format. pls help me

6 Replies
MK_QSL
MVP
MVP

Considering that you have D as Day

=Date(MakeDate(Year(Today()),Month(Today()),Day),'M/D/YY')

maternmi
Creator II
Creator II

Hi Dushan,

I guess you you have a date field as DD/MM/YYYY and would like to change it to M/D/YY. If not pleaec precise your question.

Try this:

anytablename:

laod

    date(datefiled, 'M/D/YY')

resident

    Name of table which consist the date field

Not applicable
Author

hi

try this

Date(Date#(datefield,'M/D/YY'),'D')

Not applicable
Author

my problem in as an example i have a date 1/12/2013 so i want to get only 1 as the date. how can i get only D filed in M/D/YYYY format

maternmi
Creator II
Creator II

Try this:

Day(datefield)

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

=Day(DateDimensionName)

OR

=Date(DateDimensionName, 'D')

Hope this helps you.

Regards,

Jagan.