Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

$HOROLOG

Draft MDC Standard

7.1.5.10 $Horolog

$H[OROLOG] ( intexpr )

This form gives date, time, and time-offset with one access. Let m be the value of intexpr, and let:

D be an integer counting days since the origin used by $Horolog. (Like the D in $Horolog).

S be a numeric value counting seconds since local midnight. (Like S in $Horolog but not restricted to integer values if the M[UMPS] implementation can supply it).

C be a numeric value counting the number of seconds since the origin used by $Horolog, but not restricted to integer values.

TZ be the number of seconds in the time-offset needed to get UCT (Greenwich Mean Time) from local time (local time + TZ = UCT).

The following cases are defined:

  1. If m = 0, this function returns a string in the format "D,S,TZ", where S is restricted to an integer value. (The value of $Horolog with offset).
  2. If m = 1, this function returns a string for local time in the format "D,S,TZ", where S is not restricted to an integer value.
  3. If m = 1, this function returns a string for UCT in the format "D,S,TZ", where S is not restricted to an integer value.
  4. All other values of m are reserved.
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 13-Sep-2014, 16:54:46.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)