✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# 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
A new Date Dimension instance