Created a page for the Construct Date Time node. |
Slight correction. |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
The <code>Construct DateTime</code> node takes in everything needed to create a [[Type:DateTime|DateTime]], the parts include the <code>Year</code>, <code>Month</code>, <code>Day</code>, <code>Hour</code>, <code>Minute</code>, <code>Second</code>, <code>Millisecond</code>, and <code>Kind</code>. This gets combined into a newly created DateTime value that can be used. | The <code>Construct DateTime</code> node takes in everything needed to create a [[Type:DateTime|DateTime]], the parts include the <code>Year</code>, <code>Month</code>, <code>Day</code>, <code>Hour</code>, <code>Minute</code>, <code>Second</code>, <code>Millisecond</code>, and <code>Kind</code>. This gets combined into a newly created DateTime value that can be used. | ||
{{Note|This node is wanting numbers that are normally expected from an actual date and time, and giving unexpected values can break this node and will not give you the DateTime that you want. Some examples of unexpected numbers: | |||
* Putting zeros (0) in all fields (specifically in the year, month, and day inputs) will break the node. | |||
* Putting the total length of time or more in the input will break this node (ex: 1000 in milliseconds, 65 in minutes, etc). | |||
* Putting negative numbers into the inputs will break this node.|warning}} | |||
== Inputs == | == Inputs == |
Latest revision as of 19:08, 20 May 2024
Construct DateTime
DateTime
The Construct DateTime
node takes in everything needed to create a DateTime, the parts include the Year
, Month
, Day
, Hour
, Minute
, Second
, Millisecond
, and Kind
. This gets combined into a newly created DateTime value that can be used.
Inputs
Year (int)
The year for creating this DateTime.
Month (int)
The month for creating this DateTime.
Day (int)
The day for creating this DateTime.
Hour (int)
The hour for creating this DateTime.
Minute (int)
The minute for creating this DateTime.
Second (int)
The second for creating this DateTime.
Millisecond (int)
The millisecond for creating this DateTime.
Kind (DateTimeKind)
The type of time this is (Unspecified
, Utc
, or Local
)
Outputs
* (DateTime)
The newly created DateTime value.