On Thu, 17 Apr 2025 07:52:04 -0400, Joseph Reichman wrote:
>
>Would anyone know if there is a way to get the day of week from any of the 
>date macros STCKCONV
> 
Don't bother with CKCONV.

Divide bits 8-59 od ETOD by 1000000 to get seconds.
Divide by 86400 to get days.
Divide by 7
Use the remainder as an index to a table of day names.

CVTLSO  and CVTLDTO (which CKCONV doesnt handle)
and Epoch Index are left as an exercise fir the student.

-- 
gil

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

Reply via email to