DateTime.utc
Description:
Creates a new DateTime corresponding to the given date and time in UTC.
This call is equivalent to calling DateTime with the time zone returned by TimeZone.utc.
Parameters:
year |
the year component of the date |
month |
the month component of the date |
day |
the day component of the date |
hour |
the hour component of the date |
minute |
the minute component of the date |
seconds |
the number of seconds past the minute |
Returns:
a DateTime, or null |