Click or drag to resize

PdfMetadataToSecondsPrecision Method

Round a DateTime down to the nearest second i.e. strip off Milliseconds

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.Pdf (in Atalasoft.dotImage.Pdf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static DateTime ToSecondsPrecision(
	DateTime t
)

Parameters

t
Type: SystemDateTime
arbitrary DateTime

Return Value

Type: DateTime
input value but with Millisecond set to 0
See Also