[This is preliminary documentation and is subject to change.]
Converts the server timezone to the user timezone. This function works on the entire column.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static void ConvertToUserTz( DataTable dt, string columnName, bool isMinValue ) |
Visual Basic (Declaration) |
---|
Public Shared Sub ConvertToUserTz ( _ dt As DataTable, _ columnName As String, _ isMinValue As Boolean _ ) |
Visual C++ |
---|
public: static void ConvertToUserTz( DataTable^ dt, String^ columnName, bool isMinValue ) |
Parameters
- dt
- Type: System.Data..::.DataTable
The datatable that needs to be converted
- columnName
- Type: System..::.String
The column name of the column that needs to be converted
- isMinValue
- Type: System..::.Boolean
if true converts the date to DateTime.MinValue if it is null