HeroStats Libraries
DetailData.NormalizeDate Method 

[This is preliminary documentation and subject to change.]

Rounds the time passed in the parameter down to the nearest minute, truncating any seconds

[Visual Basic]
Public Shared Function NormalizeDate( _
   ByVal time As Date _
) As Date
[C#]
public static DateTime NormalizeDate(
   DateTime time
);

Parameters

time
Time to truncate

Return Value

A new DateTime object identical to the parameter, except that the seconds are zero.

See Also

DetailData Class | HeroStats.StatsEngine Namespace