14 references to TicksPerDay
mscorlib (14)
system\datetime.cs (14)
91
internal const long MaxTicks = DaysTo10000 *
TicksPerDay
- 1;
94
private const long FileTimeOffset = DaysTo1601 *
TicksPerDay
;
95
private const long DoubleDateOffset = DaysTo1899 *
TicksPerDay
;
98
private const long OADateMinAsTicks = (DaysPer100Years - DaysPerYear) *
TicksPerDay
;
523
return new DateTime((UInt64)(DateToTicks(y, m, d) + InternalTicks %
TicksPerDay
) | InternalKind);
608
return n *
TicksPerDay
;
708
if (ticks > TicksCeiling -
TicksPerDay
) {
732
ticks +=
TicksPerDay
;
846
return new DateTime((UInt64)(ticks - ticks %
TicksPerDay
) | InternalKind);
855
int n = (int)(ticks /
TicksPerDay
);
904
int n = (int)(ticks /
TicksPerDay
);
962
return (DayOfWeek)((InternalTicks /
TicksPerDay
+ 1) % 7);
1254
return new TimeSpan(InternalTicks %
TicksPerDay
);
1349
if (value <
TicksPerDay
) // This is a fix for VB. They want the default day to be 1/1/0001 rathar then 12/30/1899.