cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Date Picker - past dates beyond 01/01/1970

I have a date picker on a screen. When my users enter a date older than 01/01/1970, e.g. 12/03/1965, the date picker auto-defaults it to 01/01/1970. 

 

Any guidance appreciated.

 

2 REPLIES 2
Highlighted
Dual Super User III
Dual Super User III

Dates are stored as the number of ticks after 1/1/1970, so I don't think you can store an actual datetime value older than that.  You would need to store it as a text value.



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

Hi @asifkhawaja ,

Do you want to choose year before 1970?
The reason why you met this problem is that:
Datepicker's start year is 1970 by default.

The startyear of Datepicker decide the earliest that you could choose in the datepicker.

In your issue, you just need to change your Datepicker's startyear to 1965.

If you want to display earlier year, you could also fill in 1900 or other years.

3174.PNG

 

You could read this doc to know more about datepicker's proerty:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-date-picker

(I suggest you notice the startyear and endyear property)

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,933)