Function EN Version 1.90

@Hour

List Misc TimeDate

Syntax

@Hour(TD1);
@Hour(TDLIST1);
@Hour(TD1;TEXTOPTIONS);
@Hour(TDLIST1;TEXTOPTIONS);

Description

Returns the hours of TD/TDLIST TD1/TDLIST1.

If the @Function is called with the parameter TEXTOPTIONS is specified, this determines the return type.

TEXT TEXTOPTIONS
F=default (return data type = FLOAT/FLOATLIST)
A=Return data type = TEXT/TEXTLIST
A2=Return data type = TEXT/TEXTLIST; minimum text length 2 characters

Example: @Hour(TD1)

TD1:=[30.09.93 14:35];
@Hour(TD1);

returns 14

Example: @Hour(TDLIST1)

TDLIST1:=[30.09.93 14:35]:[31.12.93 23:55:30];
@Hour(TDLIST1);

returns 14:23

Example: @Hour(TD1;TEXTOPTIONS)

TD1:=[30.09.93 14:35];
@Hour(TD1;"A2");

returns "14"

Note : This text was machine-translated and may contain inaccuracies.