View previous topic :: View next topic |
Author |
Message |
nbdtrjk Beginner
Joined: 08 Mar 2006 Posts: 17 Topics: 11
|
Posted: Thu May 25, 2006 1:29 pm Post subject: System Time Option in Easytrieve |
|
|
Hi
I want get system Time through Easytrieve. i got my system date like this
%GETDATE CURR-DATE..Can i use same way for time parameter(%GETTIME CURR-TIME).
Give me ur suggestion. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu May 25, 2006 1:33 pm Post subject: |
|
|
nbdtrjk,
Code: |
DEFINE WS-CURR-DATE W 10 A
DEFINE WS-CURR-TIME W 08 A
JOB INPUT NULL
WS-CURR-DATE = SYSDATE-LONG
WS-CURR-TIME = SYSTIME
DISPLAY 'THE CURRENT DATE IS : ' WS-CURR-DATE
DISPLAY 'THE CURRENT TIME IS : ' WS-CURR-TIME
STOP
|
_________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
smpattan Beginner
Joined: 19 Oct 2005 Posts: 1 Topics: 0
|
Posted: Wed May 31, 2006 8:10 pm Post subject: |
|
|
Thanks Kolusu, this was a quick help. I had searched the manual, and it did not have anything for this. _________________ Thank you |
|
Back to top |
|
|
|
|