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