This works:
result is the output of a QuerySingle()
DateTime dt = result.StoryPublishDate;
article += "<div class=\"author\">by " + result.Author + ", posted " + dt.Humanize() + "</div>";
but if I use Humanize() directly, I can't make it work.
result.StoryPublishDate.Humanize() <---- error
The solution is probably simple, but I've tried different things (casting it), using parenthesis, etc. but just couldn't figure it out.
Go to the complete details ...