Actual System Time

Hi Guys,
I was wondering if anyone could help me? I'm looking for a method to retrieve the actual system time. The time that I'm after is not the time that would be displayed on the user's clock, since this can be changed by the user, and is not a question relating to time zones, but the underlying time on which the actual time is calculated from.
The reason for this is I am hoping to have a time which cannot be changed by the owner of a device, so that when each device is first configured, it sends this time to the server so that it can by synchronized (by the server storing the difference between the device's system time & it's own against the device name in a database), and then offsetting the times in any data from this device by this amount. By doing this, even if the local time of the device were to be changed by the user after it's initial configuration, we would still get the time from the server (without the device needing to contact the server to get it's time). This would allow offline devices to be synchronized whilst protecting from user hacks.
Many thanks in advance,
JB

Hi folks,
thanks for all the feedback; it seems that you're right about users being able to change the time even at hardware level & about my proposed solution being impossible. For anyone coming to this post looking for a similar solution, here's what I've found out.
I had thought that the date & time were kept up to date by a hardware clock that constantly ran (even when the computer was turned off), that the system could use to work out universal time (by offsetting the hardware clock by an offset amount given when the time was last synchronised), and then the OS applied the time zone to this corrected time.
This is not far off what actually happens, except that in my theory, the hardware clock ran all the time, with the system time being offset from it, but running in parallel. What actually seems to happen is that when the computer boots up, the hardware time is read in as the system time (taken as either universal or local depending on the OS / config). The OS then applies the time zone offset as required (depending if an application asks for local or universal). However, when the system is shutdown, it updates the hardware clock with its own time (since the hardware clock is not very accurate, the OS time is considered more reliable since it is likely to have been synchronised with a more accurate clock). This means that should a user change the time, when the device is shutdown, the hardware clock is updated with the user's correction.
The only solution to my problem therefore seems to be to use universal time (avoiding daylight savings issues), have the system synchronise with the server when possible, and use security to block the users from altering the time.
Thanks again,
JB

Similar Messages

  • Can I get supplier actual lead time in system?

    can I get supplier actual lead time in system?

    suppose if oyu have created PO and as per your inforecord lead tine 15days but you really want the actula time based on the vendor promice
    either you have to activate the ASN functionality or order acknowledge function
    to do that when you create PO go to confirmation tab and select the order ack and/or shipping notification and make conf reqd filed checked that means prior to GR you need confirmation from vendor about the date, and qty atleast
    you can receive the confirmation via EDI also but in this case you and vendor both should EDI funcitonality
    once oyu receive the confirmation then you have to createin the system using VL31N tcode then it will be populated in your PO.

  • How do i plot with the operating system time in one plot and show lines between cursors in another using the same XY graph?

    I am having some trouble graphing two plots at once. One plot is to show the current temperature inside a chamber as a function of time. I am trying to pick the current time and temperature each second and plot it with each point being connected by a line. I am able to show a moving, blinking dot each second but I can't figure out how to develop an actual line with these dots. To make matters worse, the blinking dot is back in the year 1903. I understand that it uses seconds elapsed since 1903, and am trying to find out how to graph the current temperature with the system time.
    The second plot is just 5 moveable cursors that are to be connected by a line. I am able to move the cursors and retrieve the position information, but I can't make a line between them.
    I have attached my main .vi, though you may have to pick the graphing part off to have it work for you.
    Attachments:
    Main Module Chamber Testing I_O every 30 sec.vi ‏288 KB

    You're not creating the XY graph data correctly. I've attached an example with a couple of simple XY Graphs. One is using a couple of shift registers to hold the spearate x and y arrays. I think this is what you were trying to do. The other one uses a VI from the shipping examples called XY Chart. It makes an XY Grpah act like a chart. I've also shown the correct way to display current time.Message Edited by Dennis Knutson on 05-12-2005 03:51 PM
    Attachments:
    XY Graph.vi ‏41 KB

  • SQL to get System Time/Date from Access 95

    Is it possible to query Access 95 in SQL to return the system (current) time and date?
    Kinda like a sysDate call would do in Oracle...?

    Won't that only return the date of the most current
    record? I'm talking about the actual system
    date..(The main clock where the dates that get created
    are based on)It returns the system date and time. Just try to see.

  • Comparing incoming file name having timestamp with system time.

    Hi,
    The scenario is File to FIle.
    i have to read the incoming file name which will be having time stamp.
    compare the time stamp with the system time .
    if the difference in time is within specified time then send the file to target location,else send a mail that file is not placed in target location.
    please enlight me on how this scenario can be done.
    Thanks,
    Akkasali.

    if you mean the actual time stamp on the file and not the file name then ref: http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID2044216150DB12410233167314983393End?blog=/pub/wlg/15154
    else if you mean the time stamp on the file name itself then use dynamic configuration and then read the file name and do the further processing - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

  • How to get printers system time&

    Hi all! 
    I need to get my printer's system time, cat you help me? May be somebody knows how do this?

    Hi Lexabb,
    Thanks for the reply.
    The printer you have is actually a commercial printer and this is a consumer printer forum.
    To get better assistance with your LaserJet 700 m712, I will suggest that you post this question on the commercial forums by clicking the following link: Printers - LaserJet, as you should be able to get better assistance for your commercial printer there
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • How to fetch current system time in milliseconds using AppleScript?

    I need to write the actual systemtime hh:mm:ss.msc into a field of FileMaker by using AppleScript (as FileMaker does still not support TimeStamps down to milli seconds) - now, how to realize that?
    Any help is welcome - Thanx

    Hi Mathur,
    kindly help me in mapping a field in which I have to map current system time.
    I think there is no standard function for time like the date so do i write a UDF for the same or any other way an in case a UDF than please help in that.
    Mathur no need to write UDF for that..
    Use standard function Current date-------> In that (Target Format) u have to specify the time i.e: HHmmss
    Thats it..... Noe use this function as u like...
    Satya Kumar

  • System time display time in user time zone

    Hi,
    If the system time zone is CET and user time zone is CST. But the system status always display the systime in CST.
    Does any one know if this is an error behavior, or just controled by some configuration?
    Thanks.
    Kun

    I found these 2 threads (actually got to them from non-Oracle sites since this forum's search feature is so crummy) but they aren't letting me do what I'm trying to do:
    Use of :xdo_user_name
    How to display username in RTF BI publisher report?
    I use this code and still get nothing:
    <?param@begin:xdo_user_name?>
    <?$xdo_user_name?>
    Same with this. Nothing but a Java error:
    <?param@begin:xdo_user_name;xdo_user_name?>
    <?$xdo_user_name?>

  • X301 post BIOS / Model Number update System Time problems

    Dear community,
      I recently updated my BIOS using the thinkvantage flash BIOS utility for no reason other than it appeared on the update utility. I also updated the model number, once again for no real reason other than update pleasure. Now, everything works perfectly fine on the system, and I have no problems EXCEPT:
    I use New York Times Adobe Air product called "Times Reader". Since the update, when I try to log into the Times Reader I get an error that states "Authentication Error. Check that your system time is set correctly." In the pre-boot set up screen the time seems to be set right, and in the windows utility the time is set correctly. So my questions is,
     after a BIOS flash / Model # update, does the system time function need some re-boot / update? 
    Thanks! 

    Well I still dunno what the problem was.  It seemed as if the system would have to be running for a day or two before it would start to speed up, as if it was actually gaining a few milliseconds cumulatively every second...
    Anyway, through other testing (OC & such) I flashed to 1.5B5 and it is running pretty good, and seems to have fixed the time problem.
    On a side note, 1.5B5 is the first BIOS that actually makes Cool 'N Quiet work (to underclock to 1GHz at idle & dynamically OC when needed).
    If anyone has experienced this time issue, please post findings!  For now, it's fixed for me, so I'm not going to worry about it  

  • System time stuck after returning from deep sleep

    Hi,
    When I return from deep sleep, my system time is set to when I entered deep sleep. Only after opening Date & Time system preferences, the time is corrected.
    Any help is highly appreciated.
    Markus

    Other basic and routine maintenance is often helpful
    even if the results of preventative tasks go unseen.
    The use of Disk Utility's function to 'repair disk permission'
    and also the ability to start the computer into SafeBoot
    mode, where it is forced to check and repair system bits,
    (hold shift key on startup, wait, login; at desktop, you can
    also choose to run Disk Utility per above, by using GO in
    the Finder menubar, and open Utilities folder> disk utility;
    when done repairing disk permissions, quit; then restart)
    is one of the harmless simpler single or dual acts one can do.
    There are third party utility like interface tools that allow
    the user to run maintenance tasks through the GUI of
    that tool and not have to force them from a Single User
    mode of access; these are often freeware, such as the
    well known OnyX by Titanium Software. In my Macs,
    once a month or more (if I feel motivated) I run OnyX's
    'automation' tab selection, and check-box all of them.
    And have OnyX's preferences set to restart after its done.
    Some of the other options can be helpful, when you discover
    their purpose and find when they can have practical worth.
    In any event, some kinds of issues can be headed off; and
    a good idea is to invest in some backup strategy which
    gives you a few options; although I am lazy about it now, I
    have made backup full bootable clones of my computers.
    This is done to an external drive which supports same.
    Learning ahead of a drastic need, how to use some of
    the better free-running downloadable cloneware, is good.
    And the idea is you can actually do most of the minor tech
    work and repairs to a system (and have boot clones) at
    home; especially handy when you live 100+ miles on a
    road to nowhere. As some will argue, the living planet is
    on a dead-end road, it is good to get out and witness life.
    Being where there are no tech support persons, I have
    learned to do more than I need to; and when not messed
    with, tend to enjoy learning more than I'd actually need to.
    In any event, hopefully things go well with these matters...
    Good luck & happy computing!

  • System Time Not Updating When Sleeping.

    If I put my iMac to sleep, the system time does not appear to be updated until I manually wake the computer. For example, it I put the computer to sleep at 1:00PM and then manually wake it up 15 minutes later the system clock will display 1:00PM for the first few seconds and then jump to 1:15PM.
    The only reason this is a problem is my scheduled wake ups are not working and i suspect this behavior may have something to do with it. Is this normal behavior?

    still experiencing the problem with the delayed or out of sync time and also having the issues of not receiving phone calls, text messages, and voice mail messages at the time of call or when the phone is on. time is usually 12 - 27 minutes slow, i've actually clicked the top button and the time showed 1:27PM and noticed I missed the call at the same time. essentially, i am not receiving my phone calls (i literally answer about 1 out of every 9 calls). the genius bar is no help, giving me the good ol suggestion of "replacing" my phone for a mere "$199" when they really should be saying, get a new phone. if you have the same problem with the 2G iPhone, I implore you to add your story about your problem to the thread.
    Thanks,
    VJ.

  • Actual activity time in confirmation entry

    Hello friends;
    I want to assign actual acivity time required for confirmed yield in CO11N. System assigns required activity time, when i click on "actual Data" tab. But that time is for whole order quantity. I always do partial confirmation. So i want that system should always propose me the time, that required for enterd yield quantity.
    Waiting for Reply.
    Thanks!

    Hi,
    In t code OPK4 on Operation indiv.using initial scrn.
    Click on check box Propose in section  Quantity and service .
    in t code OPK0 in standard profile Default tab
    Default Value section mention Immediate proposal in Quantity and Service fields.
    regards,
    Vishal

  • System time was set externally in the past.

    Hi Gurus,
    In our production system,several warning messages have come up System time was set externally in the past. Wait 1 second(s).
    But when i checked the system time it showing the same as OS's.
    Could you please throw some information around this and how these warnings can be avoided?
    Thanks
    Sabya
    BASIS ENTHUSIAST

    Hi Sabyasachi,
    What's your OS Version?
    Is your SAP application hosted on Windows Server.
    Please check-out SAP Note-447839.
    Also to brief you about this common issue where in sometimes the OS time is reset back in the past and the SAP application observes this an warning and in severe situations as an ABAP dump.
    On windows server, if the automatic synchronization of timezone is enabled it synchronizes to a master time server. Actually this should be fine, but in case of Windows server, what happens is that every time the synchronization happens from a master time server, the SAP server gets a hard reset i.e. Sudden decrease of time at the time of synchronization like from 11:45 AM to 10:45 AM. This kind of behavior affects the applications running on the server. This should have been soft reset i.e. 11:45 AM time should go back in time in fractions over the entire week (Soft Reset) until it is synced in real time. SAP applications running on windows server implemented with Hard reset of Time are absolutely not supported and in that case the hard reset must be refrained at all costs. Refer SAP Note 447839 for further details.
    To narrow down the root cause of OS time shifts you can run a watchdog tool SAP time trace tool which logs the OS time every 5secs, so the next time whenever this occurs in the system it can be investigated what happened to the OS time at that instance.
    If the described case matches with your scenario, you can disable the Automatic time synchronization feature on the windows server.
    Regards,
    Akshay

  • Getting system time

    hi
    Can anyone plz tell me how to get the system time in a java program.
    I wanted to create a time logger of a java program, with the enty time and exit time details.
    Actually I wanted to find the time taken by the program to complete the execution and create a file with the time details(time_logger.txt) . ie the entry time of the program and exit time of the program.
    can anyone help me with this.
    thnkx in advance.

    Or
    long start = System.nanoTime();Generally if you're trying to time your code you should wrap it in 2 calls of System.nanoTime() or System.currentTimeMillis(), a bit like this;
    long start = System.nanoTime();
    ....//your code
    long end = System.nanoTime() - start; //total time taken to execute your code.Edited by: FTAYLOR on 10-Apr-2008 11:40

  • E-mail trigger delay - Time Zone (CET) ahead of System Time (UTC)

    Hi,
    We have developed a Z program which triggers e-mail whenever the critical System / Interface user id gets locked in the SAP Netweaver System. However, the e-mail is generated by the program in the Time Zone which is in CET and sits in t-code SOST and is sent to our mailbox in System Time which is in UTC (GMT) which is currently 2 hours behind. Hence, there is a delay of 2 hours for generated e-mail alert to be sent to our mail box. Is there any process to avoid this delay?
    In the test system manually we can reduce the wait time by 2 hours in t-code SOST and then the mail gets triggered immediately. But can this be achieved programmatically so that the time in which e-mail gets generated always displays the system time in t-code SOST. Or, is there is a configuration where the e-mail is sent to our mail box from t-code SOST in Time Zone (CET) itself and not wait till the displayed time reaches System Time (UTC).
    Thank you very much for your earliest response.
    Regards,
    SANJEEV KUMAR

    In t-code STZAC both System Time and Useru2019s Default Time Zone is same (CET).
    However, when I see in the menu System->Status I find the System Time is displayed in UTC, while Time Zone is in CET.
    In other clients where system time is displayed in CET, there is no problem. The e-mail spool from SOST which displays CET time is actually triggered in the System Time. In case the System Time is CET, mail is triggered immediately. In case System Time is UTC, it waits UTC time to reach the displayed CET time, which is currently of 2 hours gap.
    Is it possible to change the system time of the problematic client to CET to solve this problem. Please let me know what configuration can be done for this.
    Regards,
    SANJEEV KUMAR

Maybe you are looking for