web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Every Monday in picklist
Power Apps
Answered

Every Monday in picklist

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I used this code to get every Monday of the week in a picking list.  It was working very well.

ClearCollect(weeksList,
 ForAll(Sequence(52,-26,1) As DD,
 DateAdd(DateAdd(Today(),-Weekday(Today(),Monday)+1),7 * DD.Value ,Days)
 )
);

 

I don't know why, it now shows time with the date.  Can you help me to get ride of this time ?  Since this, my gallery isn't working.  Is there a way to get around this ?

jlarouche21_0-1666021495796.png

 

Thanks

Categories:
  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @jlarouche21 ,

     

    Maybe you can try the following formula:

    ClearCollect(weeksList,
     ForAll(Sequence(52,-26,1) As DD,
     Text(DateAdd(DateAdd(Today(),-Weekday(Today(),Monday)+1),7 * DD.Value ,Days),DateTimeFormat.ShortDate)
     )
    );

    vyujincuimsft_0-1666063729112.png

     

     

    Best Regards,

    Charlie Choi

  • rbn_nue Profile Picture
    on at

    Hi @v-yujincui-msft 

     

    This helped me. But how can I modify it to get values of current financial year (eg: 2022 April 1 to 2023 March 31)

    Could you please help?

     

    Thanks,

    Robin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard