ForumViewerLastTime Method |
Returns string representation of datetime of last post for current forum or thread.
Namespace: CMS.Forums.Web.UIAssembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 10.0.0
Syntax public string LastTime(
Object data,
bool thread
)
Parameters
- data
- Type: SystemObject
Container.DataItem - thread
- Type: SystemBoolean
If is true, returns datetime of last post for current thread, otherwise returns datetime of last post for current forum
Return Value
Type:
StringRemarks If forum is empty or for some reason dateTime is not available, "N/A" is returned.
See Also