Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Karim_Khan
Creator III
Creator III

convert date into fiscal id

Hi Team,

    I want to convert my noramal date into fiscal ID.

Suppose i have date 06-APR-05

I wanted to change it into 20050406 and

weekd id --200514

Month ID --200504

QuarterID --20052

etc.

Regards,

KK

stalwar1kush141087sureshqvQlikView Forums & Resources

KK
1 Solution

Accepted Solutions
PrashantSangle

Hi,

If your date field in date datatype then

try

date(DateField,'YYYYMMDD')

If it not in date datatype then

date(date#(dateField,'YYYY-MMM-DD'),'YYYYMMDD')

go to help menu

see

weekName()

MonthName()

Explore other date function also.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
bindu_apte
Creator III
Creator III

Hi,

Hope this thread will help.

Convert date format to numeric | Qlik Community

PrashantSangle

Hi,

If your date field in date datatype then

try

date(DateField,'YYYYMMDD')

If it not in date datatype then

date(date#(dateField,'YYYY-MMM-DD'),'YYYYMMDD')

go to help menu

see

weekName()

MonthName()

Explore other date function also.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂