Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Week.Year format

hi All,

How we can find weeknumber.YYYY from this date format  MM/DD/YYY.

tHANKS


5 Replies
amit_saini
Master III
Master III

Try this:

week(Date_Field,'MM/DD/YYY') as weeknumber

Thanks,

AS

Not applicable
Author

week(date)



Week number. Returns an integer representing the week when the fraction of expr is interpreted as a date according to the standard number interpretation.

PrashantSangle

Hi,

Write

Week(Date#(Date_Field,'MM/DD/YYY'))

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 🙂
amit_saini
Master III
Master III

Also try this:

week(Datefield) & ' / ' & year(Datefield) as Week,

and for weekday:

    weekday(Datefield) as Weekday

Thanks,
AS

aveeeeeee7en
Specialist III
Specialist III

Hi

Use this:

week(YourDateField)&'.'&Year(YourDateField) in your Script and after reload use this field in your Front end.

See the Snapshot:

Week Year Format Snapshot.png

Also, see the Attachment.

Regards

Av7eN