How to initialize DateTime property to show Date.Now

后端 未结 0 430
傲寒
傲寒 2021-01-22 03:15

I am trying to set DateTime Field to display current time and date.

 public DateTime Date { get; set;  }

What I try so far to pass in setter

相关标签:
回答
  • 消灭零回复
提交回复
热议问题