Try this binding:
<TextBlock Text="{x:Bind DuoDate.ToShortDateString()}" ...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can I remove the time with the date on a datePicker on sql server c #. Example ddMMYYY 00:00:00
Try this binding:
<TextBlock Text="{x:Bind DuoDate.ToShortDateString()}" ...
Try to use Format function:
SELECT FORMAT(GETDATE(), 'ddMMyyyy');
Another way is via CASTing:
SELECT CAST(GETDATE() AS DATE);
on a datePicker on sql server
There is not DatePicker or any other control on SQL Server side.
Use DateTime.Date Property to get the date without time potion.
If you never need the time, then use a date column instead of datetime in SQL.