DateTimeExtensions

System.DateTimeExtensions

Namespace: System

Assembly: Wisej.Framework (4.0.0.0)

Extends DateTimearrow-up-right with methods to adjust the server-side time to the client's timezone.

public class DateTimeExtensions

Methods

ToClientTime(value)

Converts the DateTimearrow-up-right value to the time zone of the client's browser.

Parameter
Type
Description

value

The DateTimearrow-up-right to adjust to the client's time zone.

Returns: DateTimearrow-up-right.

ToClientTime(value, timezoneOffset)

Converts the DateTimearrow-up-right value to the time zone of the client's browser.

Parameter
Type
Description

value

The DateTimearrow-up-right to adjust to the client's time zone.

timezoneOffset

The time-zone offset in minutes.

Returns: DateTimearrow-up-right.

Last updated

Was this helpful?