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:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Mon, 3 Jun 2002 17:20:51 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Mark writes:

localtime() in the C library might work, though you pass it the number of
seconds since the epoch, and the timezone comes from the TZ environment
variable:

http://docs.hp.com/cgi-bin/doc3k/B3002690004.12349/118

I have no clue about calling C library functions from SPLASH! or Business
Basic.

and Ken writes:

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.


Mark and Ken:

Thanks to both of you!  I'll have to dig into localtime(), time, and putenv
a bit.  It looks like I'll have to play with calling them from SPLASH! too.

One more question.  TZTAB.LIB.SYS on MPE is a human-readable file.  I
noticed in poking around on the web that on many (most?) Unix and Linux
systems, there is a plain text file and then there is a binary file
"compiled" from the plain text file.  Does MPE have the equivalent binary
or "compiled" version of the TZTAB.LIB.SYS file?  If so, what utility do I
need to use to compile my own version?

Thanks,

John

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

ATOM RSS1 RSS2