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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 427 Most Valuable Professional
11manish 201 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2