Cheat? I'm a big fan of cheating. I often use LE enabled HLASM just so that I 
can use the subroutines from the C language to do "fancy" printing by using 
sprintf() calls. Of course, you could also cheat by converting the C epoch to a 
Lilian date (simple addition) and using the LE subroutine CEEDATE to convert it 
to printable form. But, then, the UNIX epoch is simply a number. The number of 
seconds since 00:00:00 GMT 1 Jan 1970. It would be rather easy to convert to 
yyyy-mm-ddThh:mm:ss if it weren't for the "leap seconds". Which may or may not 
be of any interest to you.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Arye Shemer
> Sent: Tuesday, March 27, 2012 4:19 AM
> To: [email protected]
> Subject: Assembler - convrssion of Epoch (Unix) time to printable
> 
> Hello distinguished forummers,
> I need help in finding a method of converssion Epoch (Unix) time to
> printable format in an Assembler program,
> Any clue how to achieve this ?
> 
> Thank you,
> 
> Arye Shemer.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to