ForumViewerLastTime Method |
Returns string representation of datetime of last post for current forum or thread.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
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