Click or drag to resize
ForumViewerLastTime Method
Returns string representation of datetime of last post for current forum or thread.

Namespace: CMS.Forums.Web.UI
Assembly: CMS.Forums.Web.UI (in CMS.Forums.Web.UI.dll) Version: 10.0.0
Syntax
C#
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: String
Remarks
If forum is empty or for some reason dateTime is not available, "N/A" is returned.
See Also