cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stebro1986
Helper I
Helper I

set default date in datepicker

how do I default the date, to the 1st April 2022 on the date picker? 

 

thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
rubin_boer
Super User
Super User

hi @stebro1986 use the DefaultDate property, you cant set it to DateValue("01 April 2022","en-GB") use your language code

rubin_boer_0-1647104852166.png

 

Hope it helps,

R

View solution in original post

2 REPLIES 2
rubin_boer
Super User
Super User

hi @stebro1986 use the DefaultDate property, you cant set it to DateValue("01 April 2022","en-GB") use your language code

rubin_boer_0-1647104852166.png

 

Hope it helps,

R

Pstork1
Dual Super User
Dual Super User

Set the DefaultDate property of the DatePicker to the following

Text("04/01/2022",ShortDate)

then change the format property of the datepicker to the following

"mmmm dd, yyyy"

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,083)