DateTimeZone.UtcNow
Returnează data şi ora curente în UTC (fusul orar GMT).
Syntax
DateTimeZone.UtcNow(
) as datetimezone
Remarks
Returnează data şi ora curente în UTC (fusul orar GMT).
Examples
Example #1
Obţineţi data şi ora curente în UTC.
DateTimeZone.UtcNow()
Result:
#datetimezone(2011, 8, 16, 23, 34, 37.745, 0, 0)
Category
DateTimeZone