Converts a duration to the selected field and appends the value as a long or double column. Valid fields
are hours, minutes, seconds, nano-, micro- and milliseconds. If the output should be a long value the
conversion result will be truncated, e.g. if the duration 1 hour 30 minutes should be converted to
hours, the exact output is 1.5 hours whereas the truncated output 1 hour.
Note: Only time-based durations can be converted to numbers, since the conversion of date-based durations is not well defined (e.g. it is not clearly defined how many days a month has).
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
A zipped version of the software site can be downloaded here.
Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to firstname.lastname@example.org, follow @NodePit on Twitter, or chat on Gitter!
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.