Click or drag to resize
TransformationMethodsGetCurrentDateTimeString Method
Returns date time string according to user or current site time zone.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public static string GetCurrentDateTimeString(
	EvaluationContext context,
	params Object[] parameters
)

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
Method parameters

Return Value

Type: String
See Also