Skip to main content
Replaces individual calendar components of a date or datetime with absolute values. Inverse of Date Parts. Common patterns: “the first of this month” (set day to 1), “midnight on this datetime” (set hour/minute/second to 0), or “this year, but June 30th” (set month/day).

Inputs

  • Date — the date or datetime to modify.
  • Year, Month, Day, Hour, Minute, Second — each can be wired or typed as a literal in the inspector. Leaving a slot empty preserves the input’s existing value for that component.

Date vs datetime

Date inputs ignore Hour, Minute, and Second — there is no time of day to set. Datetimes honour every component.

Timezone

Optional IANA zone name (e.g. Europe/Stockholm). When set, DateTime inputs are converted to that zone before their components are replaced, then converted back — useful when “set the hour to 9” should mean 9 in the user’s local time rather than 9 UTC.

Ports