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:17:47 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
At 3:51 PM -0500 1/19/00, [log in to unmask] wrote:
>I just got a question on date calculations from one of our Cobol programmers,
>but its been a long time since I used the calendar / date intrinsics.
>Basically, the programmer wants to display the current date in the format
>mm/dd/yy and then do a calculation of the current date + nn days, then display
>the revised date in the same format.
>
>This is a work scheduling application that has been in production for some
>time,
>and it failed in the Y2K (they just found out).  The process they used before
>was rather unbelievable, they calculated the julian date and did all
>manipulations without using any intrinsics.  It is quite hard to follow.  They
>want to get it right this time, so any help would be appreciated.


Please see http://jazz.external.hp.com/src/year2000/dateintr.txt for
detailed information on the Y2K compliant date intrinsics.


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

ATOM RSS1 RSS2