Focal Point
[SOLVED] Time on server using Maintain

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1237089795

February 01, 2011, 04:04 PM
brad-s
[SOLVED] Time on server using Maintain
How do I get the time on the server (not the client) in a maintain?

I have been Importing the MNTUWS function and using the HHMMSS funtion but that seems to give me the time of the client user. I need the server time.

Is there a way from Maintain?

This message has been edited. Last edited by: Kerry,


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
February 01, 2011, 04:11 PM
Alan B
HHMMSS is from the OS of the server. The client user time could only be obtained from javascript.


Alan.
WF 7.705/8.007
February 01, 2011, 05:37 PM
brad-s
You are so right. My PC time was in sych with the test server which happens to be in the same time zone.

Thanks for the clarification.


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
February 02, 2011, 07:09 AM
Maintain Wizard
Brad
Another thing you can do is EXEC a procedure on the server that types out the system date and bring it back in FOCMSG:

EXEC GETTIME
COMPUTE NOW/A8 = FOCMSG.MSG

GETTIME.FEX
-TYPE &TOD

Mark