HP3000-L Archives

January 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Wed, 19 Jan 2000 15:33:55 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
At 3:17 PM -0800 1/19/00, [log in to unmask] wrote:
>
>Please see http://jazz.external.hp.com/src/year2000/dateintr.txt for
>detailed information on the Y2K compliant date intrinsics.


I should have mentioned that there are a couple of minor errors in this
intrinsics document.


1) Table 3 Supported Date Formats describes Date Type Code #4 as follows:


  Date
  Type Storage
  Code  Type    #Bytes  Explanation                        Sortable?  Y2K
ready?
 ----- -------  ------ ---------------------------------   ---------
----------

[...other items snipped...]

   4   integer    4    Upper 23 bits: #year since 1970         yes       yes
                       bottom 9 bits: day of the year.
                       (analogous to the  existing
                        CALENDAR format.)


Please note that it should read "Upper 23 bits: #year since 1900"


2) The description of the HPDATEFORMAT intrinsic lists the valid
FormatElements. Formats WW and ZWW are described as follows:

          WW             Week of the year (01 to 53).
          ZWW            Week of the year with leading
                         zero suppressed (1 to 53).

Please note that in both cases 53 should be 54! (I happen to be acutely
aware of this particular issue as a result of participating in
http://www.year2000.com/y2kcurrent1.html )

Barry Lake                                 [log in to unmask]
Allegro Consultants, Inc.                  www.allegro.com
(408)252-2330

ATOM RSS1 RSS2