HP3000-L Archives

June 2002, Week 1

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:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Mon, 3 Jun 2002 16:56:04 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
From: "John Korb" <[log in to unmask]>
> Question 1:
> Is TZTAB replaced by patches or when a new version of MPE is installed?
> Since some of the time zones I need to accommodate are not listed in the
> TZTAB file, I'll need to add entries for them.  If there is a significant
> risk that the TZTAB file will be replaced by HP, I'll need to make sure my
> customized file "replaces" the HP file on a daily basis before
> production.  However, I'll also need to capture the new HP supplied file
> when it appears.
>

You have to presume yes.

> Question 2:
> Is there a C library procedure (or Intrinsic that I've missed) that I can
> call from SPLASH! (or Business Basic) that lets me pass a TZ value to it
> (ex. "EST5EDT" or "HST10"), and it returns the current hour (24 hour
> format) in the specified time zone?


There is a localtime() function.  You would have to call putenv before and
after if you want to use a different timezone.  I don't know about calling
these functions from Splash.

You should note that time zones may differ by half-hours as well as hours.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2