[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.
Also, if the incoming datetime is null then the item is automatically
converted here to DateTime.MinValue
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static void ConvertToUserTz( DataSet ds, int position, string columnName ) |
Visual Basic (Declaration) |
---|
Public Shared Sub ConvertToUserTz ( _ ds As DataSet, _ position As Integer, _ columnName As String _ ) |
Visual C++ |
---|
public: static void ConvertToUserTz( DataSet^ ds, int position, String^ columnName ) |
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 beconverted