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

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
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