%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
%% Copyright Ericsson AB 2021-2025. All Rights Reserved.
%%
%% %CopyrightEnd%

[;1m  system_time()[0m

[;;4mSince[0m:
  OTP 18.0

  Returns current Erlang system time in [;;4mnative[0m time unit.

  Calling [;;4merlang:system_time()[0m is equivalent to [;;4m[0m
  [;;4merlang:monotonic_time()[0m[;;4m+[0m[;;4merlang:time_offset()[0m.

  [;;4mNote[0m

    This time is not a monotonically increasing time in the
    general case. For more information, see the documentation of
    time warp modes in the User's Guide.

[;1m  system_time(Unit)[0m

[;;4mSince[0m:
  OTP 18.0

  Returns current Erlang system time converted into the [;;4mUnit[0m
  passed as argument.

  Calling [;;4merlang:system_time(Unit)[0m is equivalent to [;;4m[0m
  [;;4merlang:convert_time_unit[0m[;;4m([0m[;;4merlang:system_time()[0m[;;4m, native, Unit)[0m.

  [;;4mNote[0m

    This time is not a monotonically increasing time in the
    general case. For more information, see the documentation of
    time warp modes in the User's Guide.
