DateTime Constants







'VB.Net
Const TicksPerMillisecond As Long = 10000
Const TicksPerSecond As Long = 10000000
Const TicksPerMinute As Long = 600000000
Const TicksPerHour As Long = 36000000000
Const TicksPerDay As Long = 864000000000
Const MillisPerSecond As Integer = 1000
Const MillisPerMinute As Integer = 60000
Const MillisPerHour As Integer = 3600000
Const MillisPerDay As Integer = 86400000
Const DaysPerYear As Integer = 365
Const DaysPer4Years As Integer = 1461
Const DaysPer100Years As Integer = 36524
Const DaysPer400Years As Integer = 146097
Const DaysTo1601 As Integer = 584388
Const DaysTo1899 As Integer = 693593
Const DaysTo10000 As Integer = 3652059
Const MinTicks As Long = 0
Const MaxTicks As Long = 3155378975999999999
Const MaxMillis As Long = 315537897600000
Const FileTimeOffset As Long = 504911232000000000
Const DoubleDateOffset As Long = 599264352000000000
Const OADateMinAsTicks As Long = 31241376000000000
Const OADateMinAsDouble As Double = -657435
Const OADateMaxAsDouble As Double = 2958466
Const DatePartYear As Integer = 0
Const DatePartDayOfYear As Integer = 1



Terminal