Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to compare date and time picker returned arguments with DateTime.utcNow value ?

gowtham800gowtham800 Member
edited April 2019 in Xamarin.Forms

I am creating a forms app where user enters values and submits them to a list. Each value is submitted to the list along with the date and time of submission using "note.Date = DateTime.UtcNow;" The entries are saved locally in the phone. Now I want to be able to retrieve only those entries that the user wants to view by selecting Date, start time and end time. All the values in the list that were submitted on the chosen date and time in between the picked start time and end time should be presented to the user.

I don't know how to compare the date and time picker arguments with DateTime.utcNow value. Any leads?

Answers

Sign In or Register to comment.