[This is preliminary documentation and is subject to change.]

Converts the given date to the user datetime. This method converts the datetime column in all the rows of the column determined by the columnName. It returns the same dataset back to the user. Note: No check is made to make sure that the data being converted is in the correct input format.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static void ConvertToUserTz(
	DataSet ds,
	int position,
	string columnName,
	bool isMinValue
)
Visual Basic (Declaration)
Public Shared Sub ConvertToUserTz ( _
	ds As DataSet, _
	position As Integer, _
	columnName As String, _
	isMinValue As Boolean _
)
Visual C++
public:
static void ConvertToUserTz(
	DataSet^ ds, 
	int position, 
	String^ columnName, 
	bool isMinValue
)

Parameters

ds
Type: System.Data..::.DataSet
The dataset on which the operation is performed
position
Type: System..::.Int32
The position where the table in the dataset is in 0 is the first position
columnName
Type: System..::.String
The nameof the column which needs to be converted
isMinValue
Type: System..::.Boolean
if true converts the date to DateTime.MinValue if it is null

See Also