XMII 12.x  Can you get the Server's Time Zone from a webservice call?

Is there a MII / NW webservice call to get the server's time zone?

After thinking about it a little my best approach was just a simple JSP page, because I really was more intersted in the servers GMT offset.
<%@page import="java.util.*" %>          
<%
Calendar myCalendar = new GregorianCalendar();  
int gmtOffset = (myCalendar.get(Calendar.ZONE_OFFSET) + myCalendar.get(Calendar.DST_OFFSET))/(1000 * 3600); 
%>
<%=gmtOffset %>

Similar Messages

  • How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    Hello Fran,
    You can wrap the job chain in a master job chain in the first step and set the final status handler there.
    You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.
    Regards Gerben

  • How can you get the apple tv to work in a hotel where to get on the wifi you have to still go to a website first and put in your room

    How can you get the apple tv to work in a hotel where to get on the wifi you have to still go to a website first and put in your room?

    Welcome to the Apple Community.
    Unfortunately the Apple TV doesn't have a web browser so you can't do that.

  • How can you get the filter off if you can't remember the password? It's"pro con" and it wont even let me check out the rates for aflight.

    How can you get the filter off if you can't remember the password? It's"pro con" and it wont even let me check out the rates for aflight.

    You can check the file prefs.js in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and remove the line(s) related to that extension (procon.password).

  • Can you get the file name of the current executing TSQL script?

    Can you get the file name of the current executing TSQL script? I wrote entries to a generic log file and would like to include the script name.

    Okay, So What you can do is
    1. Read get the version from your  database and redirect it to a text file(SQLCMD outout can be directed to text file using -o option or windows redirection operator >)
    2. Now you can read this value from the text file either inside a batch file or a powershell script and decide what operations you can do. 
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • How can you get the keypad on a USB keyboard to work in Excel

    How can you get the keypad on a USB keyboard to work in Excel for Mac.  Mouse keys is disabled/unchecked, but cannot get it to work.  Even tried downloading a 'num lock' app and it didn't help.

    Hi Michael-
    I do not have any problem with using shift registers in timed loops.  What version of LabVIEW are you using?  Can you please elaborate on why neither shift registers or local variables meet your needs?  I have attached a VI that saves a previous iteration and then computes and displays the difference.  Let me know if you have problems running it.
    Thanks-
    Tom W
    National Instruments
    Attachments:
    TimedLoop_ShiftReg.vi ‏74 KB

  • Can you get the full version of minecraft on an ipad mini?

    Can you get the full version of minecraft on your Ipad mini?

    No.
    You can only download Apps from the App Store.

  • How can I get the date and time and display it on the report main page?

    Gurus,
    How can I get the date and time and display it on the report main page?
    Thanks!

    Hello,
    You can create a Formula Colum returning a date :
    function CF_1Formula return Date is
    begin
    RETURN(SYSDATE);
    end;
    Put a Field in the Layout having this formula column as source .
    Regards

  • Can you change the legth of time (or number of rings) it takes for on iphone 4 to time out making an outgonig call?

    Can you change the legth of time (or number of rings) it takes for on iphone 4 to time out making an outgonig call?
    Mostly it's to call in for radio contests. The Iphone is really good at making a quick call, but it seems to timeout after 15-20 rings. I realise this is a small thing, but free tickets is free tickets.
    Most commenst I see is abotu incoling calls, not outging.
    Thanks.

    No. You can't do this with any phone.

  • Iphone 3GS- How do you get the pictures to show up larger when someone call

    Iphone 3GS- How do you get the pictures to show up larger when someone calls? I know this seems trivial but I have difficulty seeing, so one of the reasons I actually purchased this phone was for this feature. When the photos do come up they come up in the top right corner in small boxes / windows. I already google'd this topic and they suggested importing the photos - to itunes and than directly on to the iphone, I did this and it didn't work. Additionally I took a few test photos from the iphone and tried setting them to contacts. This didnt work either. I looked in settings and could not find anything that discussed this issue. Although I do believe I have seen iphones that ring with large pictures. Am i Crazy?

    You aren't crazy.
    Adding the photo to contacts on the computer gets you the smaller pix when people call.
    Assign the photo on the phone itself and you get full-size pix.
    Additionally I took a few test photos from the iphone and tried setting them to contacts. This didnt work either.
    So, that certainly should work. Try it again? Try it with a brand new contact, maybe it is not overwriting a previously existing picture.
    I suppose there is a small possibility that Apple thought this differing behavior was a bug instead of a feature and "fixed" it with a recent update, but I doubt it.

  • Can you change the extensions in Adobe Muse from .html to .htm?

    Can you change the extensions in Adobe Muse from .html to .htm?
    I'm updating an old site where the extensions for the pages were all.htm. This means that when I upload the site index.htm is not being over written by index.html.

    Hi,
    It is not possible to change the extension in Muse at the moment. You can export the site as HTML and change the extensions outside the Muse.
    Regards,
    Aish

  • Can you adjust the length of time the screen stays lit?

    Can you adjust the length of time the screen stays lit?

    but you can't lengthen it unfortunately.
    Bear in mind, the screen is the largest consumer of power.

  • Can you select the server name or I.P. from SQL

    I am trying to find where I can get the server name or IP address from an SQL query, Can you Help?

    Do you mean the database host? It's like this:
    SQL> select host_name from v$instance;
    HOST_NAME
    sqlintdb4                                                                                                                                                                                                                                                                                                                               

  • How can you get the mail boxes in yahoo onto the e.mail app

    How can you get your yahoo mail boxes onto the e.mail app on an IPad mini?

    Go to the Settings App
    Pick Mail, Contacts, Calendars
    On the right side you'll see under the Mail section "Add Account”
    Pick that and fill out the requested information

  • Where can you get the power cord for a 2012 airport express?

    Where can you get a power cord for a 2012 airport express or the equivalent? I couldn't find one in the online store.

    I'm sure the OP found his solution, but I wanted to share mine in case it helps some future seeker.
    There are a lot of brand new cords on eBay for less than $10 including shipping, which is way cheaper than the $39 stereo connector kit or an AC adapter from a retailer.  I just bought a used-like-new one for $5.50.
    The cord is made by Volex, part number APC7Q.  The Apple part number is M9573LL/A.  If the seller got it from the stereo adapter kit, they'll probably list it under MD836LL/A, which is the kit's part number.  I got the best search results on eBay using just the Volex part number.
    Best of luck!

Maybe you are looking for

  • How to apply RSA and MD5 on my data?

    Hello everyone...I am a college Student and I have a project two clients connected with server one of them by socket and another by RMI and I have been asked to apply CIA (confidentiality, integrity, availability) I know algorithms of cryptograpghy a

  • Why does my iPad 2 lag on YouTube

    Why does my iPad 2 lag on YouTube

  • Softproofing shows blacks as a milky grey

    I have seen a problem like this before, and raised a question on the forum, but realised what was wrong (the problem happened on a full colour image, and once I set the Process to 2012 it went away). However it has cropped up again, and this time the

  • BootCamp on an already partitioned disc

    I want to install windows xp using bootcamp. My disc has alredy been partitioned into two partitions (one for OSX startup and the other one for my documents etc.) when I open bootcamp assistant it says: "The startup disk must be formatted as a single

  • The iTunes file cannot be saved. An unknown error occured (-50)

    I am receiving this error message..."The iTunes file cannot be saved. An unknown error occured (-50).  This is not related to downloading new content.  As soon as I open iTunes this error appears.  Any ideas?