I have a listview containing several label; One of them uses a DateTime.
The date is displayed correctly, but also shows the time (00:00:00)
In the XAML it is written
In the context, I use a DateTime and a TimeSpan that I have to send to a web service, it needs two different variables, it ignores the time of the DateTime, so I think that adding my TimeSpan in my DateTime Of its creation (currently D_Date_Souhait = DateNeed.Date, I try DateNeed + TimeNeed and DateNeed.Add (TimeNeed) but no success).
How do I display either only the date or the date with the TimeSpan time?
(If necessary, here is how I generate the source: Lt_Dem_Panier.ItemsSource = App.Demand_Database.Read_Panier_Dem (); )