在Sitecore中获取项目创建日期

时间:2022-11-11 19:48:55

Is there anyway we can get an item's created date programmatically under the Statistics section? Thanks.

无论如何我们可以在统计部分下以编程方式获取项目的创建日期吗?谢谢。

1 个解决方案

#1


17  

Yes. Sitecore.Context.Item.Statistics.Created. This returns the item's created date as a DateTime object.

是。 Sitecore.Context.Item.Statistics.Created。这会将项目的创建日期作为DateTime对象返回。

#1


17  

Yes. Sitecore.Context.Item.Statistics.Created. This returns the item's created date as a DateTime object.

是。 Sitecore.Context.Item.Statistics.Created。这会将项目的创建日期作为DateTime对象返回。