now_utc Function

public function now_utc() result(dt)

Return the current UTC date and time.

Arguments

None

Return Value type(datetime_type)


Source Code

    function now_utc() result(dt)
        !! version: experimental
        !!
        !! Return the current UTC date and time.
        type(datetime_type) :: dt
        dt = to_utc(now())
    end function now_utc