hmCal_GET VISIBLE TIMERANGE

hmCal_GET VISIBLE TIMERANGE(area;fromDate;fromTime;tillDate;tillTime)

Parameter          Type             Description
area               Longint      ->  hmCal Bereich
fromDate           Datum        <-  from date
fromTime           Longint      <-  from time
tillDate           Datum        <-  till date
tillTime           Longint      <-  till time

Description

The command hmCal_GET VISIBLE TIMERANGE returns the visible time range of the current view in the parameters fromDate, fromTime, tillDate and tillTime.

Notice: The command hmCal_GET VISIBLE FRAME returns only the visible area.

Example

The following example shows the current time range of the calendar:
C_DATE($vd_date1;$vd_date2)
C_LONGINT($vl_time1;$vl_time2)

hmCal_GET VISIBLE TIMERANGE(hmCal;$vd_date1;$vl_time1;$vd_date2;$vl_time2)