Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get item created date in Sitecore

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

like image 329
sanjeev40084 Avatar asked Apr 08 '13 22:04

sanjeev40084


1 Answers

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

like image 60
OptimizedQuery Avatar answered Oct 21 '22 13:10

OptimizedQuery