Revision: 66268
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 9, 2014 20:17 by Reiff
Initial Code
using umbraco.cms.businesslogic.web; public static string ReleaseDate(int nodeId) { Document d = new Document(nodeId); return d.ReleaseDate.ToString(); }
Initial URL
http://snippets.reiffs.dk/hent-udgivelsesdato-funktion-til-umbraco-indlaeg/
Initial Description
You could use this snippet as an Umbraco XSLT Extension to be able to get releasedate from the Umbraco post in XSLT.
Initial Title
C# get release date from Umbraco post
Initial Tags
date, c#
Initial Language
C#