Hub
Pricing About
ComponentComponent

Duration of Subscription within Floating 12-month Period

DurartionFloating periodDate&timeSubscriptionActivation
+4
darspir profile image
Versionv.1.2Latest, created on 
Dec 14, 2023 1:34 PM
Drag & drop
Like
Use or download
This component calculates the duration of any event/subscription (with Activation and Expiration dates' information provided) in frames of a floating 12-month period. This is useful for yearly reports, when one needs, for instance, to calculate the duration of the active subscription falling into the reporting period. The user can specify the beginning date of the 12-month period and the component will automatically determine the end of the period (+12 month) and calculate the duration of each contract/event/subscription which was active in this selected period, considering also the point in time of activation and expiration dates. Before calculating, the input data table is filtered and the following cases are removed: - when both activation&expiration dates lay before the start date or after the end date of the 12-month period; - when activation date starts after the expiration date.

Component details

Input ports
  1. Type: Table
    Subscription Data
    Data Table containing information of start and end (activation and expiration) dates (Local Date format) of some event/subscription/contract, which duration you want to calculate.
Output ports
  1. Type: Table
    Subscription Data with Calculated Duration
    Input Data Table with appended calculated duration.

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits