如何从SharePoint自定义列表中的“日期/时间"列获取日期和当前时间
在sharepoint 2007的自定义"列表之一中,我有一个名为日期已提交"的列作为日期/时间. 它始终设置为今天的日期和12AM时间,而不是我要显示当前时间为hh:mm:ss的今天的日期.
I have column called "Date Submitted" as Date/time in one of the Custom list in sharepoint 2007. it always set to today's date and 12AM time instead of that I want to display today's date with current time hh:mm:ss.
我尝试创建计算列TestDate,公式为:= TEXT(([[Date Submitted]),,"mm dd yyyy h:MM:SS")
I tried creating calculated column TestDate and formula is : =TEXT(([Date Submitted]),"mm dd yyyy h:MM:SS")
结果是2010年4月28日0:00:00我想成为2010年4月28日10:50:34
result is 04 28 2010 0:00:00 I wanted to be 04/28/2010 10:50:34
有可能做到这一点吗?
谢谢 坎塔
尝试将= NOW()放在列属性的默认值字段中
try to put =NOW() in the default value field in the column properties