Method | Description | |
---|---|---|
ToLocal ( System.DateTime input ) : DateTime? |
Convert the datetime (assumed to be UTC) to the user's local time zone.
|
|
ToUtc ( System.DateTime input ) : DateTime? |
Convert the datetime to UTC. The input datetime will be assumed to be in the local user timezone (not necessarily the same as the server's).
|
Method | Description | |
---|---|---|
GetTimeZoneContext ( ) : Sage.Platform.TimeZone |
public static ToLocal ( System.DateTime input ) : DateTime? | ||
input | System.DateTime | |
return | DateTime? |
public static ToUtc ( System.DateTime input ) : DateTime? | ||
input | System.DateTime | |
return | DateTime? |