Type:DateTime: Difference between revisions

From Resonite Wiki
imported>ProbablePrime
m ProbablePrime moved page Category:Types:DateTime to Types:DateTime
 
m cat
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="wikitable"
|-
| Color
| Type
|-
| style="background-color:{{DateTime-color}}" |
| DateTime
|}
DateTime represents a defined Date and Time which could be in the past, present or future.
DateTime represents a defined Date and Time which could be in the past, present or future.


[[Category:Types]]
The structure of this datatype is internally considered a Struct, and as such has some unusual properties
 
[[https://learn.microsoft.com/en-us/dotnet/api/system.datetime Microsoft's Documentation]] on DateTime has more on this data type.
 
The data type does not directly convert to Milliseconds without the conversion algorithm. DateTime even has data about time zone and daylight savings time from the time zone it was recorded in within its value, as well as versioning. As such, working directly with the [[Type:ULong| ULong]] that can sometimes be extracted from it is not recommended.
 
[[Category:Type]]
[[Category:Value types]]

Latest revision as of 17:31, 18 April 2025

DateTime represents a defined Date and Time which could be in the past, present or future.

The structure of this datatype is internally considered a Struct, and as such has some unusual properties

[Microsoft's Documentation] on DateTime has more on this data type.

The data type does not directly convert to Milliseconds without the conversion algorithm. DateTime even has data about time zone and daylight savings time from the time zone it was recorded in within its value, as well as versioning. As such, working directly with the ULong that can sometimes be extracted from it is not recommended.