date - how to use datehelper methods with view -
i using date helper method converting datetime helper class...
but have result date "a moment ago" only. takes system date not model.. please me...
because in partial view model.helpers.datehelper.getfriendlydate(datetime.now). takes current date..
you put this,
<%var createddate = dial4jobz.helpers.datehelper.getfriendlydate((datetime)viewdata["createddate"]); %>
Comments
Post a Comment