Skip to main content

builtin_sys_timezone

Function builtin_sys_timezone 

Source
fn builtin_sys_timezone(
    _args: &[RValue],
    _named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Get the current timezone from the TZ environment variable.

@return character scalar: timezone string (defaults to “UTC”)