Changeset 370 for trunk/Include/Classes/System/DateTime.ab
- Timestamp:
- Nov 3, 2007, 5:18:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/DateTime.ab
r275 r370 253 253 - Millisecond * TimeSpan.TicksPerMillisecond As Int64 254 254 If IsLeapYear(Year + Int(value)) Then 255 ticks += ( value - Int(value)) * 366 * TimeSpan.TicksPerDay256 Else 257 ticks += ( value - Int(value)) * 365 * TimeSpan.TicksPerDay255 ticks += ( (value - Int(value)) * 366 * TimeSpan.TicksPerDay ) As Int64 256 Else 257 ticks += ( (value - Int(value)) * 365 * TimeSpan.TicksPerDay ) As Int64 258 258 End If 259 259 Return date.AddTicks(ticks)
Note:
See TracChangeset
for help on using the changeset viewer.