DateTime.now_local


Description:

public DateTime.now_local ()

Creates a DateTime corresponding to this exact instant in the local time zone.

This is equivalent to calling DateTime.now with the time zone returned by TimeZone.local.

Returns:

a new DateTime, or null