DateTimeExtensions Class

Extension methods for DateTime handling.

Definition

Namespace: MFiles.VAF.Configuration
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public static class DateTimeExtensions
Inheritance
Object    DateTimeExtensions

Methods

ToDateTime Converts Timestamp to DateTime while preserving the milliseconds of the nanosecond fraction. The method generates a dateTime object of as specified by the outputFormat param.
ToTimestamp Converts DateTime to Timestamp while preserving the milliseconds. The method generates a timestamp object of as specified by the outputFormat param.

See Also