# Function createDateDimension

createDateDimension(json): DateDimension

Creates a new Date Dimension instance from the given JSON object.

This function is used in the generated data model code to create date dimensions for an input data source.

See also functions createDimension and createAttribute.

# Parameters

Parameter Type Description
json any JSON object representing the Date Dimension

# Returns

DateDimension

A new Date Dimension instance