Truncates a DateTime value to the nearest partial value.
public static DateTime Truncate(DateTime date, DateTimeResolution resolution)
Parameters
date
resolution
Remarks
From: http://stackoverflow.com/questions/1004698/how-to-truncate-milliseconds-off-of-a-net-datetime
See also:
Class TimeUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic