If I have d = DateTime.now, how do I convert \'d\' into UTC (with the appropriate date)?
d = DateTime.now
The string representation of a DateTime can be parsed by the Time class.
> Time.parse(DateTime.now.to_s).utc => 2015-10-06 14:53:51 UTC