SharpCvsLib

DateParser.GetCorrectedTimeStamp Method 

Apply the correct UTC offset to the given time. This is done to correct a bug in the .net framework.

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

Parameters

timeStamp
The timestamp to be corrected.

Return Value

The corrected timestamp for the file.

See Also

DateParser Class | ICSharpCode.SharpCvsLib.Util Namespace