# Class NodaConstants

Useful constants, mostly along the lines of "number of milliseconds in an hour".

##### Inheritance

System.Object

NodaConstants

##### Inherited Members

System.Object.ToString()

System.Object.Equals(System.Object)

System.Object.Equals(System.Object, System.Object)

System.Object.ReferenceEquals(System.Object, System.Object)

System.Object.GetHashCode()

System.Object.GetType()

System.Object.MemberwiseClone()

**Namespace**:NodaTime

**Assembly**:NodaTime.dll

##### Syntax

`public static class NodaConstants`

### Fields

#### DaysPerWeek

Number of days in a standard Gregorian week.
The value of this constant is 7.

##### Declaration

`public const int DaysPerWeek = 7`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### HoursPerDay

A constant for the number of hours in a standard day. Note that the number of hours
in a day can vary due to daylight saving effects.
The value of this constant is 24.

##### Declaration

`public const int HoursPerDay = 24`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### HoursPerWeek

A constant for the number of hours in a standard week of seven 24-hour days.
The value of this constant is 168.

##### Declaration

`public const int HoursPerWeek = 168`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MillisecondsPerDay

A constant for the number of milliseconds per standard 24-hour day.
The value of this constant is 86,400,000.

##### Declaration

`public const int MillisecondsPerDay = 86400000`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MillisecondsPerHour

A constant for the number of milliseconds per hour.
The value of this constant is 3,600,000.

##### Declaration

`public const int MillisecondsPerHour = 3600000`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MillisecondsPerMinute

A constant for the number of milliseconds per minute.
The value of this constant is 60,000.

##### Declaration

`public const int MillisecondsPerMinute = 60000`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MillisecondsPerSecond

A constant for the number of milliseconds per second.
The value of this constant is 1000.

##### Declaration

`public const int MillisecondsPerSecond = 1000`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MillisecondsPerWeek

A constant for the number of milliseconds per standard week of seven 24-hour days.
The value of this constant is 604,800,000.

##### Declaration

`public const int MillisecondsPerWeek = 604800000`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MinutesPerDay

A constant for the number of minutes per standard 24-hour day.
The value of this constant is 1,440.

##### Declaration

`public const int MinutesPerDay = 1440`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MinutesPerHour

A constant for the number of minutes per hour.
The value of this constant is 60.

##### Declaration

`public const int MinutesPerHour = 60`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### MinutesPerWeek

A constant for the number of minutes per standard week of seven 24-hour days.
The value of this constant is 10,080.

##### Declaration

`public const int MinutesPerWeek = 10080`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### NanosecondsPerDay

A constant for the number of nanoseconds in a standard 24-hour day. The value of this constant is 86,400,000,000,000.

##### Declaration

`public const long NanosecondsPerDay = 86400000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### NanosecondsPerHour

A constant for the number of nanoseconds in an hour. The value of this constant is 3,600,000,000,000.

##### Declaration

`public const long NanosecondsPerHour = 3600000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### NanosecondsPerMillisecond

A constant for the number of nanoseconds in a millisecond. The value of this constant is 1,000,000.

##### Declaration

`public const long NanosecondsPerMillisecond = 1000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### NanosecondsPerMinute

A constant for the number of nanoseconds in a minute. The value of this constant is 60,000,000,000.

##### Declaration

`public const long NanosecondsPerMinute = 60000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### NanosecondsPerSecond

A constant for the number of nanoseconds in a second. The value of this constant is 1,000,000,000.

##### Declaration

`public const long NanosecondsPerSecond = 1000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### NanosecondsPerTick

A constant for the number of nanoseconds in a tick. The value of this constant is 100.

##### Declaration

`public const long NanosecondsPerTick = 100L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### NanosecondsPerWeek

A constant for the number of nanoseconds in a standard week of seven 24-hour days. The value of this constant is 604,800,000,000,000.

##### Declaration

`public const long NanosecondsPerWeek = 604800000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### SecondsPerDay

A constant for the number of seconds per standard 24-hour day.
The value of this constant is 86,400.

##### Declaration

`public const int SecondsPerDay = 86400`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### SecondsPerHour

A constant for the number of seconds per hour.
The value of this constant is 3,600.

##### Declaration

`public const int SecondsPerHour = 3600`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### SecondsPerMinute

A constant for the number of seconds per minute.
The value of this constant is 60.

##### Declaration

`public const int SecondsPerMinute = 60`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### SecondsPerWeek

A constant for the number of seconds per standard week of seven 24-hour days.
The value of this constant is 604,800.

##### Declaration

`public const int SecondsPerWeek = 604800`

##### Field Value

Type | Description |
---|---|

System.Int32 |

#### TicksPerDay

A constant for the number of ticks in a standard 24-hour day.
The value of this constant is 864,000,000,000.

##### Declaration

`public const long TicksPerDay = 864000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### TicksPerHour

A constant for the number of ticks in an hour. The value of this constant is 36,000,000,000.

##### Declaration

`public const long TicksPerHour = 36000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### TicksPerMillisecond

A constant for the number of ticks in a millisecond. The value of this constant is 10,000.

##### Declaration

`public const long TicksPerMillisecond = 10000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### TicksPerMinute

A constant for the number of ticks in a minute. The value of this constant is 600,000,000.

##### Declaration

`public const long TicksPerMinute = 600000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### TicksPerSecond

A constant for the number of ticks in a second. The value of this constant is 10,000,000.

##### Declaration

`public const long TicksPerSecond = 10000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

#### TicksPerWeek

A constant for the number of ticks in a standard week of seven 24-hour days.
The value of this constant is 6,048,000,000,000.

##### Declaration

`public const long TicksPerWeek = 6048000000000L`

##### Field Value

Type | Description |
---|---|

System.Int64 |

### Properties

#### BclEpoch

The instant at the BCL epoch of midnight 1st January 0001 UTC.

##### Declaration

`public static Instant BclEpoch { get; }`

##### Property Value

Type | Description |
---|---|

Instant |

#### JulianEpoch

The instant at the Julian epoch of noon (UTC) January 1st 4713 BCE in the proleptic
Julian calendar, or November 24th 4714 BCE in the proleptic Gregorian calendar.

##### Declaration

`public static Instant JulianEpoch { get; }`

##### Property Value

Type | Description |
---|---|

Instant |

#### UnixEpoch

The instant at the Unix epoch of midnight 1st January 1970 UTC.

##### Declaration

`public static Instant UnixEpoch { get; }`

##### Property Value

Type | Description |
---|---|

Instant |