Search the web
Sign In
New User? Sign Up
magicu-l · uniPaaS (Magic) Software Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
get server date   Message List  
Reply | Forward Message #123803 of 148673 |

I need a command to get server date on magic 7/9.

any suggestion?

Thanks
Heri Herwanto




Fri Nov 30, 2007 4:20 am

rhiel_x
Offline Offline
Send Email Send Email

Forward
Message #123803 of 148673 |
Expand Messages Author Sort by Date

I need a command to get server date on magic 7/9. any suggestion? Thanks Heri Herwanto...
Heri Herwanto
rhiel_x
Offline Send Email
Nov 30, 2007
3:18 pm

In V9 yo can use the GetEnv() functions get values from the OS. In v7 I think you will have to use get.dll. it should have a function to get the server time. ...
Roger Ross
rbross77
Offline Send Email
Nov 30, 2007
3:25 pm

Maybe there is an easier way, but this one will work. you call a batch with the following command: "net time \\SERVERNAME /Y >Tempfile.txt" you end up having...
zvidev
Offline Send Email
Nov 30, 2007
4:01 pm

Another trick we have used is to create an empty text file on the server and read the date/time stamp of the file with a get.dll function, then erase the file....
Rick Lieb
rickl_aod
Offline Send Email
Nov 30, 2007
4:18 pm

Heri, As Zvi said, you can use for Windows networks the command line "NET TIME". Point it to a server and then redirect the output to a file. Read the contents...
Keith Canniff
kbcanniff
Offline Send Email
Nov 30, 2007
5:23 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help