如何将 SharePoint 列表中 DateTime 字段的默认值设置为也包含当前时间?

How can I set the default value of a DateTime field in a SharePoint list to also contain the current time?

我的 SharePoint 2013 列表中有一个 DateTime 字段。我已将字段的默认值指定为 =Today。问题是这只指定了字段的日期部分。时间部分保留为00:00。我怎样才能得到那里的时间信息。

我想默认向用户显示当前时间,大部分时间都会用到。但是,如果需要,用户应该可以指定不同的时间。

=Today() 只给出当前日期,=Now() 给出当前日期和时间。

您的默认日期 = DateTime.Now();

而不是 DateTime.Today();