Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

remove time from datetime xamarin

Wiley Wombat answered on April 3, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • c# datetime remove time
  • c# datetime remove days
  • c# remove time in datetime
  • excel remove time from date

  • remove time from datetime xamarin

    0

    //The time cannot be removed, however I found the best way to eliminate time messing up date ranges is as follows:

    startDate = new DateTime(startDate.Year, startDate.Month, startDate.Day, 0, 0, 1); 

    endDate = new DateTime(endDate.Year, endDate.Month, endDate.Day, 23, 59, 0); 


    //This includes the entire date range, disregarding specific times 

    Popularity 1/10 Helpfulness 1/10 Language csharp
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 03 2023
    Wiley Wombat
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.