Hi @sachinsoni441,
Could you share more details on your scenario? How do you want to compare the two dates?
I have made the following app for your reference.
Before starting, I added a date and time field called StartTimeTest into entity Accounts.
Then start an app from data based on entity Accounts.
On the BrowsGallery screen, add a Date picker control and a label.
Display the StartTimeTest on screen by setting the Text property of one field as:
ThisItem.StartTimeTest
Then set the Text property of the Label with this code:
If(ThisItem.StartTimeTest>DatePicker2.SelectedDate,"expired","Not yet stared")
Please check it for a reference and feel free post back if you need more help.

Best regards,
Mabel