SiouxCityElvis
Programmer
I'm using RMCOBOL-85 on Linux...
How do I fix the date showing up as what I believe must be GMT since it's usually 5-6 hours off my local time. At a prompt when I type the linux command "date", the time shows up as my local time, but in my COBOL it shows up as the GMT time I guess.
In my working storage:
In my procedure division.
....
Thanks.
-David
How do I fix the date showing up as what I believe must be GMT since it's usually 5-6 hours off my local time. At a prompt when I type the linux command "date", the time shows up as my local time, but in my COBOL it shows up as the GMT time I guess.
In my working storage:
Code:
01 HISTDATE.
03 HCC PIC 99.
03 HYY PIC 99.
03 HMM PIC 99.
03 HDD PIC 99.
In my procedure division.
....
Code:
ACCEPT HISTDATE FROM YYYYMMDD.
DISPLAY HISTDATE.
Thanks.
-David