ProtoFlux:SubDateTime: Difference between revisions

From Resonite Wiki
m YoshBot moved page ProtoFlux:Sub DateTime to ProtoFlux:SubDateTime: Automated: removing spaces from ProtoFlux namespace
Fix return type of SubDateTime
Line 13: Line 13:
|}}
|}}


The <code>Sub DateTime</code> node takes in two DateTime values and subtracts them, returning with a new DateTime value.
The <code>Sub DateTime</code> node takes in two DateTime values and subtracts them, returning with a TimeSpan value corresponding to the duration between the two instants.


== Inputs ==
== Inputs ==
Line 27: Line 27:
== Outputs ==
== Outputs ==


=== * ([[Type:DateTime|DateTime]]) ===
=== * ([[Type:TimeSpan|TimeSpan]]) ===


The new resulting DateTime value.
The new resulting TimeSpan value.


[[Category:ProtoFlux:Time]]
[[Category:ProtoFlux:Time]]

Revision as of 04:04, 20 September 2025

-
A
*
B
Time

The Sub DateTime node takes in two DateTime values and subtracts them, returning with a TimeSpan value corresponding to the duration between the two instants.

Inputs

A (DateTime)

The first DateTime value.

B (DateTime)

The second DateTime value.

Outputs

* (TimeSpan)

The new resulting TimeSpan value.