CF8, Mysql, Date and Time 1 hour behin

Hi Guys we have CF8, and we are using Mysql 5.0 the
connection with the database is perfect
but we have a very estrange problem we store date and time
information into the database
when we query the database we get the right information
however when the coldfusion script
show the result in the web the information is 1 day behind,
I've been looking around in the CF8 administration to see if I can
change some settings without any success.
Example:
eventID eventType eventVenue eventDetail eventStart
eventstartTime eventEnd eventendTime eventLevel eventActive eventTS
2 5 1 spec shares @ college 2008-03-19 14:00:00 2008-03-19
16:00:00 1 yes 2008-03-12 17:00:26
3 2 1 intro @ college 2008-03-20 10:00:00 2008-03-19 16:00:00
1 yes 2008-03-12 17:22:59
of interest are the time and date columns eventStart,
eventstartTime, eventEnd, eventendTime - please note the values
retrieving that information (without modification) via
coldfusion are 1 day behind for dates (actually 1 hour behind) and
1 hour and 1 minute forward for time
2 5 1 spec shares @ college Mar 18 2008 23:00 15:01
18-03-2008 17:01 1 yes
We reproduce the problem in Windows or Linux so we believe
it's a problem with the coldfusion
can you give us any advise ?
Regards
Ivan

I don't think the problem with with CF. In addition to the
server's timezone, which JVM are you using? You need to at least
1.4.2_11 to account for the recent change in daylight savings time.
http://kb.adobe.com/selfservice/viewContent.do?externalId=d2ab4470

Similar Messages

  • I am looking for a timer that shows elapsed time since a particular date and time.  Showing days, hours, minutes etc.

    I would like to download an application for my desktop and maybe even my iphone that will tell me how many days, hours, minutes, etc have elapsed since a particular date.
    For example, my brother just had a baby and I want to put that date and time into the app and then determine how long it has been since that date and time.
    Hopefully this makes sense, because I have not been able to locate anything.
    Thanks in advance,

    This is fantastic.  Thank you.
    Is there any way to have something like this displayed on my desktop showing the time as it ticks away?

  • Date (date and time) with MySQL, register here!

    Hi,
    Summary:
    I have a page (form) to capture attendance. It works, it allows user to enter their attendance details. On click, it writes to the database - table. The date is not captured on the form. I want to date stamp this by inserting a date (date and time - declared field). I will provide source code. Please pin point what code I should be inserting and wheres about within this code.
    Question:
    Insert date and time into database table -
    Code:
    <?php require_once('Connections/dbAttendance.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
      $insertSQL = sprintf("INSERT INTO attendlist (Windowsid, title, firstname, surname, extension, mobile, jobrole, course, cpg, mgrname, room) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['textfield'], "text"),
                           GetSQLValueString($_POST['select'], "text"),
                           GetSQLValueString($_POST['textfield2'], "text"),
                           GetSQLValueString($_POST['textfield3'], "text"),
                           GetSQLValueString($_POST['textfield4'], "text"),
                           GetSQLValueString($_POST['textfield5'], "text"),
                           GetSQLValueString($_POST['select5'], "text"),
                           GetSQLValueString($_POST['select2'], "text"),
                           GetSQLValueString($_POST['select4'], "text"),
                           GetSQLValueString($_POST['textfield7'], "text"),
                           GetSQLValueString($_POST['select3'], "text"));
      mysql_select_db($database_dbAttendance, $dbAttendance);
      $Result1 = mysql_query($insertSQL, $dbAttendance) or die(mysql_error());
      $insertGoTo = "Thankyou.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_dbAttendance, $dbAttendance);
    $query_rsAttendance = "SELECT * FROM attendlist";
    $rsAttendance = mysql_query($query_rsAttendance, $dbAttendance) or die(mysql_error());
    $row_rsAttendance = mysql_fetch_assoc($rsAttendance);
    $totalRows_rsAttendance = mysql_num_rows($rsAttendance);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Delegate Register</title>
    <link href="Registerpage.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    </head>
    <?php
    $date = date(“format”, $timestamp);
    ?>
    <body>
    <div class="container">
      <div class="header"><img src="Cerner At Imperial2.jpg" width="960" height="150" alt="" /><!-- end .header --></div>
      <div class="content">
        <h3>Register: <?php echo "Date  - ".date("d/m/Y - H:ia")?></h3>
        <form action="<?php echo $editFormAction; ?>" method="post" name="form">
          <table width="780" border="0">
            <tr>
              <td><div align="right">User ID *</div></td>
              <td><span id="sprytextfield1">
                <input name="textfield" type="text" id="textfield" tabindex="1" size="18" maxlength="10" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Title *</div></td>
              <td><span id="spryselect1">
                <select name="select" id="select" tabindex="2">
                  <option value="0">Select</option>
                  <option value="1">Ms</option>
                  <option value="2">Mrs</option>
                  <option value="3">Mdm</option>
                  <option value="4">Dr</option>
                  <option value="5">Mr</option>
                  <option value="6">Prof</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">First name*</div></td>
              <td><span id="sprytextfield2">
                <input name="textfield2" type="text" id="textfield2" tabindex="3" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Surname *</div></td>
              <td><span id="sprytextfield3">
                <input name="textfield3" type="text" id="textfield3" tabindex="4" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Contact / Bleep *</div></td>
              <td><span id="sprytextfield4">
                <input name="textfield4" type="text" id="textfield4" tabindex="5" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Mobile no: (optional)</div></td>
              <td><input name="textfield5" type="text" id="textfield5" tabindex="6" size="20" maxlength="20" /></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Job Role *</div></td>
              <td><span id="spryselect5">
                <select name="select5" id="select5" tabindex="7">
                  <option value="0">Select </option>
                  <option value="1">Doctor</option>
                  <option value="2">Nurse IP</option>
                  <option value="3">Nurse OP</option>
                  <option value="4">Midwife</option>
                  <option value="5">Booking Clerk</option>
                  <option value="6">Medical Secretary</option>
                  <option value="7">OP Receptionist</option>
                  <option value="9">CNS/NP</option>
                  <option value="10">Tester</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Manager's Name *</div></td>
              <td><span id="sprytextfield5">
                <input name="textfield7" type="text" id="textfield7" tabindex="8" size="30" maxlength="30" />
              <span class="textfieldRequiredMsg">A value is required.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td> </td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Course *</div></td>
              <td><span id="spryselect2">
                <select name="select2" id="select2" tabindex="9">
                  <option value="0">Select</option>
                  <option value="1">Demo</option>
                  <option value="2">Doctors</option>
                  <option value="9">CNS/NP</option>
                  <option value="3">Nurse IP</option>
                  <option value="4">Nurse OP</option>
                  <option value="5">Midwife</option>
                  <option value="6">Booking Clerk</option>
                  <option value="7">Medical Secretary</option>
                  <option value="8">OP Receptionist</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">Location *</div></td>
              <td><span id="spryselect3">
                <select name="select3" id="select3" tabindex="10">
                  <option value="0">Select </option>
                  <option value="1">CHX 12 Floor Rm 1</option>
                  <option value="2">CHX 12 Floor Rm 2</option>
                  <option value="3">CHX 10 West </option>
                  <option value="4">HH N207 </option>
                  <option value="5">HH W12 Conference</option>
                  <option value="6">SMH Rm a</option>
                  <option value="7">SMH Rm b</option>
                  <option value="8">SMH Ming Wing Rm 5</option>
                  <option value="9">SMH Ming Wing Rm 3</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="right">CPG *</div></td>
              <td><span id="spryselect4">
                <select name="select4" id="select4" tabindex="11">
                  <option value="0">Select </option>
                  <option value="1">CPG 1 - Medicine</option>
                  <option value="2">CPG 2 - Surgery and Cancer</option>
                  <option value="3">CPG 3 - Specialist Services </option>
                  <option value="4">CPG 4 - Circulatory Services and Renal Medicine</option>
                  <option value="5">CPG 5 - Womens and Children</option>
                  <option value="6">CPG 6 - Clinical and Investigative Sciences</option>
                  <option value="7">CPG 7 - Private Patients</option>
                  <option value="8">Others</option>
                </select>
              <span class="selectRequiredMsg">Please select an item.</span></span></td>
              <td> </td>
            </tr>
            <tr>
              <td> </td>
              <td><input name="button" type="submit" id="button" value="Submit" /></td>
              <td> </td>
            </tr>
            <tr>
              <td><div align="center">*Mandatory fields </div></td>
              <td> </td>
              <td> </td>
            </tr>
          </table>
          <input type="hidden" name="MM_insert" value="form" />
        </form>
    <!-- end .content --></div>
      <div class="footer">
    <p align="center">
        <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
          <p align="center"> Cerner@Imperial ICT Training Team </p>
    </p>
      <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur", "change"]});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["change", "blur"]});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur", "change"]});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {validateOn:["blur", "change"]});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur", "change"]});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["change", "blur"]});
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {validateOn:["change", "blur"]});
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4", {validateOn:["change", "blur"]});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur", "change"]});
    var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {validateOn:["blur", "change"]});
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsAttendance);
    ?>

    There are several ways. One is to get the date from the php time() function and use that in your insert statement. Another is to use MySQL CURDATE() function. But probably the easiest and best is to simply define the default value for the date/time column as the current date/time and exclude it from the insert statement. No code changes necessary.
    http://dev.mysql.com/doc/refman/5.0/en/timestamp-initialization.html

  • Date and Time sync 8 hours ahead!!

    Hey peepl...
    I'm not a complete vegetable when it comes to the MAC but my iMAC's problem has me mashed...
    I reformatted my hard drive recently so that I could put boot camp on (soiling my MAC with windows software!!) and then restored everything from my Time Machine backup but ever since I did that the time (and date) on my computer is 8 hours ahead of the real time even tho it's supposed to be syncing automatically with apple.asia...
    I know I can manually select the time in "Date and Time" in preferences but I prefer to keep it synced.
    I thought it was a problem with my firewall so I changed a few settings but it keeps on doing it.
    Can anyone help???? It's rather p@ss@ing me off

    Thanks for trying to help mate. I actually solved the problem late last night after noticing something. It seems that Windows in Boot Camp time was set 8 hours ahead which seems to have meant that every time if fixed the time on here, when I rebooted in windows in put it 8 hours further ahead.
    But it ALSO meant that when I tried to sync the time to apple.asia (for some strange and weird reason) the server returned that time as being correct (the one that was 8 hours ahead). I still don't understand it but at least (I think, and hope) it's fixed. :S
    thanks again for taking the time to try and help out Daniel...

  • Date and time 12 hours off

    The date and time are 12 hours off on all my Idevices (Ipads and I pod touches), YET the time is correct on my Iphone and all my computers and my router.  The date/time are set to generate automatically.  When I turn this feature 'off' the time immediate changes 12 hours back to the correct time.  However, synchronized events on my calendars (say, with gmail calendar) remain 12 hours off.  I have no idea what is going on.  I had thought this may have something to do with my wi-fi and/or router, but the 'automatic' date/time change regardless of whether wi-fi is even on or off on the devices.  Also, I can't figure out why the Iphone would have the right time when the other devices all have the time off by 12 hours.  Any ideas

    Thanks, but something is still wrong.  I have tried to set the date and time manually and this does fix the general time on the Idevice; however, programs such as weather and the calendar still show events 12 hours when they synch to gmail calendar. So something about the Idevice is still telling the device it is 12 hours off even though I have set the date/time manually. 

  • My AppleTV cannot set date and time. I've reset it, but after 3 hours, it is still trying

    My AppleTV used to work fine. Someone messed with my Time Capsule, so I had to have it worked on. Since it was messed up, the AppleTV can't function. I reset it and updated everything. It said "Activating" and "setting date and time". After 3 hours, it is still trying to set the date and time. Now what do I do? Thanks for any help.

    As I previously wrote in a former post:
    I will first assume you are still setting up your new Apple TV. Is this is the case, use a website like canyouseeme.com to check if port 123 is open. If it is not, this is your issue of your Apple TV not being able to connect to the timeserver. Try contacting your Internet Service Provider for help with opening this port.
    Otherwise, try hard resetting your Apple TV by disconnecting all power for 30 seconds. If the problem still persists, you may try hard resetting your router by also unplugging all power for 30 seconds.
    Hope this worked out well for you. If you are having further troubles you can always connect it to iTunes using a micro-usb and restore it. Lastly, the Genius Bar will be more than happy to fix the problem for you if you'd like to make a reservation for your local Apple Store.

  • IMovie 9.0.8 "date and time" Title is 5 hours off original footage.

    Since iMovie doesn't import the original Date and Time that the footage was recorded, I have been using the "date and time" Title feature, which in prior versions has worked well. Since updating to ML and iMovie 9.0.8, the time is off by approximately 5 hours. I can usually correct this by adjusting the date and time in the frame but it's an extra step I'd rather avoid. Has anyone else experienced this glitch? Is there a fix?

    ablyes wrote:
    …i already tried a frensh install of mountain lion
    I recommended a re-install of the app, not of the OS
    …  what do you mean by adding some MacOS Voodoo ?
    do, what I wrote: re-launch your Mac while holding down the shift-key
    this triggers the Safe-Mode, which is recommended by Apple as a maintanance-routine  (best done before any updatres) ....
    I called it 'voodoo' as some joke ...

  • TS3920 I updated my iPad to iOS 7.02.  Now my time and calendar are off by 3 hours.  There is no longer a Date and Time section under General settings.  How do I change my time?

    I updated my iPad to iOS 7.0.2 and the time is 3 hours off.  There is now no longer a date and time section under General settings.  How do I change the time on my iPad?

    In iOS 7 there still is a Settings > General > Date and Time. Use it to correct your time or set it to Set Automatically.

  • Difference between two dates and time in hours

    Hi,
    I have fields contains start date, start time, end date, end time.
    How do I calculate the number of hours since start date, start time and end date, end time
    Start date : T_DATE1
    Start time : T_TIME1
    End Date : T_DATE2
    End Time : T_TIME2.
    Please help
    Moderator Message: Date and Time questions are not allowed in this forum. The reason being they have been asked and answered many times here. Please search for relevant information here.
    Edited by: kishan P on Dec 16, 2011 12:02 PM

    Hi,
    Please find the FM - DELTA_TIME_DAY_HOUR,
    this will give you the time in minutes, hence you can convert it to hours.
    Please note the below links;
    Moderator Message: Link-farm removed. Please dont do that again.
    Hope you will search SDN next time, before posting.
    And too hope that this will help you
    Thanks & Regards
    Manu S
    Edited by: kishan P on Dec 16, 2011 12:03 PM

  • I "restored" my Apple TV and now it is 37 hours into the step, "activating the date and time"? I am stuck.

    My Apple TV stopped working while watching a Netflix show and the light on the box started blinking. It seemed like all I could do was "restore" which I did. Then in the process of restarting the Apple TV it said "activating the date and time".It has been stuck on this spot ever since (2 days). Everytime I turn the Apple TV back on to see where it is, it is still on this step. As for my choices on what I would call the main screen, I can either go to "Settings" or "Computers". All the numerous choices available (Netflix, Podcasts, NBA, MLB, You Tube, etc, etc) are not available..not even on the screen. This Apple TV box is pretty much useless at this point. Any advice??

        1.    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
        2.    Also try restarting the router.
        3.    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.

  • Problem with date and time syncing itouch to macbook

    i have a problem with the date and time on ical when i sync my itouch4 w my macbookair. whatever i entered into my calendar in itouch will appear different in my ical( with a 6 hrs advance difference) and the alarm i set on my itouch in the calendar doesnt ring at the right time as set even though it is shown the time that i wanted.
    Both my macbook n itouch are set to the same time zone and i have checked this many many times n the time is the same on both machine. but i just dont understand why is there a time difference when synced and my alarm just dont sound at the time it was supposedly set. it rings hours later n showing a different time that it was set but in the parenthesis the right time that i had set it.
    One time my computer ran out of battery n went into sleep mode and when i open it again, the time n date setting was all off. which im surprised why it had gone off. So did this create the problem i have now with the date n time sync or something else?
    please help!!!!

    Having the same problem, & am running Parallels (which I haven't used for some time) not boot camp. I tick the box labeled "Set time automatically" & lock the "click the lock to make changes". When I reboot, the Lock is unlocked and the "set time...." is unticked. Any ideas. Cheers.

  • Odd Date for Current Date and Time

    I am modifying a column in a list to get current date and time using =TODAY()+NOW() in the calculated field and get a time that is behind by 1 hour but the date is 4 months 114 years ahead (2128). How can I fix this field?

    http://sharepointsolutions.com/sharepoint-help/blog/2011/04/how-to-add-and-subtract-hours-and-minutes-from-date-and-time-fields-in-sharepoint-lists/

  • Work Status Report Date and Time Setting

    Hi all
    We are running BPC10 on servers configured with Central European Time which is currently 2 hours ahead of GMT allowing for Daylight Savings Time.
    From what i can see in BPC10 date and times are now stored in GMT (Zulu time) in the Audit activity tables so when a user updates the work status at say 11:00AM local CET time then a value of 09:00AM GMT is stored in the Audit Activity Header table.
    We have a report in excel that uses the EVLCK formula and will return the correct value of 11:00 am however if we run the Work Status Audit report on the Planning and Consolidation home page with user preferences set to Central European Time +1 then the time is displayed as 10:00am suggesting that daylight savings time is not accounted for. We need to set the time to Eastern European time +2 hours to display the correct figure.
    Can anyone explain why this happens? Has DST been overlooked?
    Rgds
    Alan

    Hi Alan,
    probably it's a bug, I think it's better you open an OSS message to SAP.
    Regards
         Roberto

  • Date and Time dimensions

    After reading the following article, I have decided to use SSAS dimension wizard for generating our Date dimension, which creates a DATETIME PK.
    http://www.made2mentor.com/2011/05/date-vs-integer-datatypes-as-primary-key-for-date-dimensions/ 
    I have also created a separate Time dimension as granularity of an hour is required.
    The Time dimension is very simple and only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR).
    DimTime(TimeKey, TimeInHours)
    Our Fact table will now have a link to both the Date and Time dimension using the PK's.
    Our analysis is required by hour, day, week, month and year.
    My query is; Will this current structure cause any problems when creating MDX scripts to analyse our data (i.e. drilldown and rollup queries) Hour - Day - Week - Month - Year

    Hi Darren,
    According to your description, there a day and hour granularity in your fact table, so you want to a hierarchy like Hour - Day - Week - Month - Year, right?
    In your scenario, you created a time table that only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR). We cannot create a Hour - Day - Week - Month - Year hierarchy without ant relationship between date table and time table. As per my understanding,
    you need create a foreigner key in time table, and join those table in the data source view, then you can create such a hierarchy. Here are some links about create time dimension, please see:
    http://www.ssas-info.com/analysis-services-articles/59-time-dimension/1224-date-and-time-dimensions-template
    http://www.codeproject.com/Articles/25852/Creating-Time-Dimension-in-Microsoft-Analysis-Serv
    Regards,
    Charlie Liao
    TechNet Community Support

  • Date and Time Sync at boot for Active Directory/Open Directory Authenticati

    All the macs in my school district are set to automatically sync their time with a network time server. They do not do this unless the system preference is opened. This poses a problem as all our users must authenticate against an Active Directory and an Open Directory server. If the time is out of sync they can not login, and therefore can not fix the time. I must then login in with a local admin account set the time and then the network account can login. I have tried using direct IP addresses for the NTP server. That doesn't work either. I have adjusted the tolerance of the AD server to accept a large discrepancy in time (did not work). Set the users to be mobile accounst (local home folders), did not work. The only fix will be to ensure that the time does sync at boot, before login. Is there a way to force the computer to sync at boot to a given NTP server, prior to the login window appearing?

    I have come up with my own solution for this issue. It is a two part solution. We found that the computers are experiencing time drift and that after they get out of sync by 5 minutes they can no longer login. One would think that the setting in the Date and Time system preference to automatically synchronize the time would take care of this. That however is not the case that check mark does not affect the ntp service at all. It merely eliminates the need to click a button when entering the system preference. How did we discover this? well that is part of the solution. We used webmin (http://www.webmin.com) to look at the ntp configuration. No matter what changes we made with the Date & Time preferences nothing changed in the system ntp settings. So on to the solution: Install webmin, and configure the ntp protocol manually to sync at your desired interval (I did hourly). This stops time drift. Next create a startup item and associated plist to force time sync at boot (be sure to loop it as different machines initialize their network cards slower). I have made ours available for download (http://www.manheimcentral.org/~getzt/netTime.zip). I hope this helps others. We have found that this works fairly well.

Maybe you are looking for

  • Error in mapping data...

    Hi, i am using a inbound file adapter to get input .xml file and then getting tht data as output in a text file using outbound file adapter. i am getting error in mapping part.i am using the auto map command to map the input data with the output data

  • Suggested edit to hint: Tip - Date and Time in the Menu Bar

    The user tip, located here, massively overcomplicates the procedure for showing the date and time in the menu bar. The simpler way is to do: 1. Click >System Preferences...>International>Formats. 2. Next to "Dates", click the "Customize" button. 3.

  • Unlimited World - can it be used for Russia landli...

    Hi, everyone. I need to make calls from Australia to Russia landlines (NOT Moscow and NOT St.Petersburg). I looked at Unlimited World subscription : Subscriptions > Calling landlines Unlimited World - Calls are unlimited - AU$13.49/month Available co

  • Javax.jws service and XML

    Hello, I have web service(javax.jws) which return XML as String. I need write a client, which transform this XML with XSLT to web page. Can someone tell me where i find some books or text which talk about this problem? Or some good sites? Please help

  • My QuickTime won't update

    A couple months ago my QuickTime stopped updating, at the time it was no big deal i don't use it for anything important, so when it would update with itunes i'd just not update quicktime and take the itunes update. The error I get says The feature yo