SAP Data Integrator transforms help you load time dimension tables using the Date Generation transform.
This transform generates the primary key values for a time dimension target.
After generating the dates, you can use functions in a Query transform to populate additional fields, such as day_of_week.

Configuring the Date Generation Transform
When configuring the Date Generation transform, specify the following options:
- Start date: The first date in the sequence (for example, 1997.01.01 or a variable).
- End date: The last date in the sequence (for example, 2000.12.31 or a variable).
- Increment: The time interval between generated records, such as Daily (a variable can also be used).

Defining the Query Transform
In the Query transform, you can create target columns and map them to specific time dimension values using various functions. Common examples include:
- The julian function: Creates a unique date ID based on the number of days since the start of the Julian calendar.
- The month function: Extracts the month number (1–12) from the date.
- The quarter function: Extracts the quarter number (1–4) from the date.
- The to_char function: Converts a specific part of the date into a string format.
- The day_in_week function: Extracts the day of the week as a number (1–7).
- The isweekend function: Returns a boolean value (1 or 0) to indicate if the date falls on a weekend.

