ToUniversalTime method

Official Content

This method applies to DateTime data type data, allowing you to convert its value to Coordinated Universal Time (UTC).

The method assumes that the DateTime to convert is in the server's time zone.

Syntax

&DateTime.ToUniversalTime()

Type returned

DateTime

Example

&MeetingInUTC = &MeetingDateTime.ToUniversalTime()

Scope

Data type DateTime
Languajes .Net, Java, Ruby
   

See also

The TimeZone problem
Date Time storage timezone property
TimeZone support - Compatibility considerations
DateTime data type




Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.