当我在 DatePicker 元素中使用DateTime.Today 时,它正在运行并为我提供正确的输出,但是当我在 TimePicker 元素中使用DateTime.Now 时,它会返回错误
主页.xaml
<DatePicker Date="{x:Static sys:DateTime.Today}" /> <TimePicker Time="{x:Static sys:DateTime.Now}" />
c# asp.net xaml xamarin.forms
asp.net ×1
c# ×1
xamarin.forms ×1
xaml ×1