TimeZoneHelperConvertToServerDateTime Method (DateTime, IUserInfo) |
Returns server date time in dependence on server time zone.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 8.2.23
Syntaxpublic static DateTime ConvertToServerDateTime(
DateTime dateTime,
IUserInfo userInfo
)
Parameters
- dateTime
- Type: SystemDateTime
DateTime - userInfo
- Type: CMS.BaseIUserInfo
User info
Return Value
Type:
DateTime
See Also