Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>