Notifications
Announcements
Hi,
I am confused and hoping someone can help as I am new member.
I want to display day period in one label, How can I get that?
Please help.
HI @94zeba
If you want to calculate the days between two dates you can use following formula:
DateDiff(DateTimeValue(DatePicker1.SelectedDate),DateTimeValue(DatePicker1_1.SelectedDate),Days)
On label Text property you can apply this formula.
-------------------------------------------------------------------------------------------
Regards,
Bharti
Community Support Team _ BhartiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@BJ94
Thank you for reply.
Can we get time difference between two dates?
Hi @94zeba
You can take another label and you can add following formula on that-
DateDiff(DateTimeValue(DatePicker1.SelectedDate),DateTimeValue(DatePicker1_1),Hours)
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268