toDateTimeAsUTC method

DateTime toDateTimeAsUTC()

Implementation

DateTime toDateTimeAsUTC()
{
  DateTime dateTime = toDateTime();
  return new DateTime.utc(dateTime.year, dateTime.month, dateTime.day, dateTime.hour, dateTime.minute, dateTime.second);
}