Table of Contents

Struct NwDateTime

Namespace
Anvil.API
Assembly
NWN.Anvil.dll
public readonly struct NwDateTime
Inherited Members
Extension Methods

Constructors

NwDateTime(int, int, int, int, int, int, int)

Fields

DaysInMonth
MaxDate
MinDate
Ticks
TicksPerDay
TicksPerHour
TicksPerMillisecond
TicksPerMinute
TicksPerMonth
TicksPerSecond
TicksPerYear

Properties

Date
DayInMonth
DayInTenday
DayInYear
Hour
Millisecond
Minute
Month
Now

Gets or sets the current module date and time. This date must fall within the years 0 to 32000. Time can only be advanced forwards; attempting to set the time backwards will result in no change to the calendar, and a warning logged.

Second
Today

Gets or sets the current module date. This date must fall within the years 0 to 32000.

Year

Methods

Add(int, long)
AddDays(int)
AddHours(int)
AddMilliseconds(int)
AddMinutes(int)
AddMonths(int)
AddSeconds(int)
AddYears(int)
FromTicks(long)
ToString()

Returns the fully qualified type name of this instance.

Operators

implicit operator long(NwDateTime)