Skip to content

get_system_timeGetSystemTimeGetSystemTimeget_system_timeget_system_time🔗

Short description🔗

get_system_timeGetSystemTimeGetSystemTimeget_system_timeget_system_time — Read out the system time.

Signature🔗

get_system_time( out integer MSecond, out integer Second, out integer Minute, out integer Hour, out integer Day, out integer YDay, out integer Month, out integer Year )void GetSystemTime( HTuple* MSecond, HTuple* Second, HTuple* Minute, HTuple* Hour, HTuple* Day, HTuple* YDay, HTuple* Month, HTuple* Year )static void HOperatorSet.GetSystemTime( out HTuple MSecond, out HTuple second, out HTuple minute, out HTuple hour, out HTuple day, out HTuple YDay, out HTuple month, out HTuple year )def get_system_time( ) -> Tuple[int, int, int, int, int, int, int, int]

Herror get_system_time( Hlong* MSecond, Hlong* Second, Hlong* Minute, Hlong* Hour, Hlong* Day, Hlong* YDay, Hlong* Month, Hlong* Year )

Herror T_get_system_time( Htuple* MSecond, Htuple* Second, Htuple* Minute, Htuple* Hour, Htuple* Day, Htuple* YDay, Htuple* Month, Htuple* Year )

Description🔗

The operator get_system_timeGetSystemTime reads out the current system time. The system time is read according to the local time zone or as UTC, see 'system_time_base'"system_time_base" in get_systemGetSystem.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

MSecondMSecondmsecond (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Milliseconds (0..999).

Secondsecondsecond (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Seconds (0..59).

Minuteminuteminute (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Minutes (0..59).

Hourhourhour (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Hours (0..23).

Daydayday (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Day of the month (1..31).

YDayYDayyday (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Day of the year (1..366).

Monthmonthmonth (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Month (1..12).

Yearyearyear (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Year (xxxx).

Result🔗

get_system_timeGetSystemTime always returns the value 2 (H_MSG_TRUE).

Combinations with other operators🔗

Combinations

See also

get_image_timeGetImageTime

Module🔗

Foundation