Adjusting Date and Time with Video

Does anyone know of a way (or work-around) to change the date and time of video in Aperture?  If not in Aperture, perhaps in a different application.
Thanks,
Mac

And I was hoping that the new Aperture Version 3.2.2 would solve this problem, but no luck - it is still not possible.
I tried to use the commandline tool"exiftool" as a work-around, since the "Date" tag is part of the exif tags, but when I type "exiftool" in the Terminal window to see, if it would be possibe to edit the "Date" tag of a video, I see the following list of capabilities:
       File Types
         −−−−−−−−−−−−+−−−−−−−−−−−−−+−−−−−−−−−−−−−+−−−−−−−−−−−−−+−−−−−−−−−−−−
         3FR   r     | DVB   r      | M4A/V r     | PBM   r/w   | RWZ   r
         3G2   r     | DYLIB r     | MEF   r/w   | PDF   r/w   | RM    r
         3GP   r     | EIP   r       | MIE   r/w/c | PEF   r/w   | SO    r
         ACR   r     | EPS   r/w  | MIFF  r     | PFA   r     | SR2   r/w
         AFM   r     | ERF   r/w  | MKA   r     | PFB   r     | SRF   r
         AI    r/w   | EXE   r      | MKS   r     | PFM   r     | SRW   r/w
         AIFF  r     | EXIF  r/w/c | MKV   r     | PGF   r     | SVG   r
         APE   r     | F4A/V r     | MNG   r/w   | PGM   r/w   | SWF   r
         ARW   r/w   | FLA   r     | MOS   r/w   | PICT  r     | THM   r/w
         ASF   r     | FLAC  r     | MOV   r     | PMP   r     | TIFF  r/w
         AVI   r     | FLV   r     | MP3   r     | PNG   r/w   | TTC   r
         BMP   r     | FPX   r     | MP4   r     | PPM   r/w   | TTF   r
         BTF   r     | GIF   r/w   | MPC   r     | PPT   r     | VRD   r/w/c
         CHM   r     | GZ    r     | MPG   r     | PPTX  r     | VSD   r
         COS   r     | HDP   r/w   | MPO   r/w   | PS    r/w   | WAV   r
         CR2   r/w   | HTML  r     | MQV   r     | PSB   r/w   | WDP   r/w
         CRW   r/w   | ICC   r/w/c | MRW   r/w   | PSD   r/w   | WEBP  r
         CS1   r/w   | IIQ   r/w   | MXF   r     | PSP   r     | WEBM  r
         DCM   r     | IND   r/w   | NEF   r/w   | QTIF  r     | WMA   r
         DCP   r/w   | ITC   r     | NRW   r/w   | RA    r     | WMV   r
All movie formats are listed as "r" (read only, not read/write), so even with "exiftool" you will not be able to modify the date, unless you try brute force and edit your movie in iMovie or any other movie editor and render a new movie with your computer's date and time  set to a  different time.

Similar Messages

  • Adjusting date and time does not work for pictures from one camera.

    I have a set of pictures taken with a Casio EX-Z20 camera in my Aperture 2 library. Because the clock of this camera was off by a few hours I changed them all at once with the option "Adjust date and time...". This worked well and when I sorted the images from different cameras by date in Aperture they were in the order.
    When exporting all the images as JPEG the images in the set from this camera was reset to it's original.
    That was very strange, I decided to try and change the date of these images in the master files as well by checking the checkbox "Also change master files".
    When I change the date from 15-10-2008 18:34:44 to 16-10-2008 10:34:44 (+16 hours) the date of the image changes to 16-10-08 01:36:43 GMT+02.00 (+9 hours, 1 minute, 59 seconds).
    When I change the date from 16-10-08 01:36:43 to 16-10-2008 19:36:43 (+18 hours) it ends up as being 16-10-08 10:38:42 (+9 hours, 1 minute, 59 seconds)
    When I change the date from 16-10-08 10:38:42 to 16-10-08 10:48:42 (+10 minutes) it ends up as 16-10-08 01:50:49 GMT+02:00 (-8 hours, 47 minutes, 7 seconds)
    I have worked around this problem by adding some hours to the desired time and eventually got it about right, but this is still a very annoying problem. Has anyone else encountered it or know of a way to avoid it?

    {quote:title=JohniBook wrote:}
    Has anyone else encountered it or know of a way to avoid it?
    {quote}
    I certainly have had issues regarding wrong dates, time stamping and DNG's in Aperture. There have been posts here from others as well with the same kind of date problems.
    I have reported the bug to Apple and hope for a solution to the issue in a near future.
    Regards
    Paul K

  • Adjust Date and time for all Photos in an event?

    Would some one tell me how to adjust the date and time for all photos in an event. For some reason when I change the date, it only changes the first photo in the event and I am left with a range of dates in the event, but I would rather they all have the same date in the event. Any thoughts or ideas?

    How are you selecting the photos and changing them? How much of a change are you trying to make? A total change of date and time or just a delta change either plus or minus?
    Using the Photos->Adjust Date and Time... menu option will apply the time/date difference to all of the photos in the Event if you click on the Event icon in the Photos mode or the Event mode.

  • "Adjust Date and Time..." will convert your TIFFs to JPGs!!!

    I wanted to let everyone know of a serious bug that I've been discussing in the following thread: [http://discussions.apple.com/thread.jspa?threadID=1315705&tstart=0].
    Here's the bug. If you use the "Adjust Date and Time..." function on a TIFF file, and have iPhoto modify the original file, iPhoto will make the time adjustment, but it will *save a JPEG over your original TIFF, with the original .TIF name!!!*
    Big nasty bug. After you do this function, you have lost all that lossless TIFF data since your pictures was overwritten by a lossy JPG!
    nathan

    nathan:
    What type of edit were you making. Have been trying to duplicate that and cannot. I've changed the date and selected the original file to be changed also. Then I edited the file by cropping, changing the exposure and shadows and saving. Both versions are still tiff files.
    Now these are tiff files that I converted over from jpgs with Photoshop as my camera doesn't take tiffs. Don't know if that will make any difference.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Lost clips after adjusting date and time??

    I just updated to iMovie 10.0.3 and adjusted a buch of events in iMovie. All of them were incorrectly placed in wrong years when viewing in "by date" format. After adjusting the date and time with the event highlighted, I come to see either all or some (a clip of two) of the event is lost. The good old "missing file" is what I get in the playback window.
    I want to go on an anti-iMovie rant as this version has caused me NOTHING but headaches sence I installed it last year but it's MY fault for not having a spare iMovie 9.0 laying around so I cannot revert.
    Is there any solution here besides wiping my iMovie library clean and restoring from TM?
    Thanks.
    EDIT, I just looked in each event in the file system and the original media is not even there anymore but the library size hasnt changed. Wow. I don't get this at all.

    There seems to be a serious bug here that has been introduced with iMovie 10.0.3, and reported by several posters.   I would recommend you report it using Apple feedback at: http://www.apple.com/feedback/
    There is probably a particular infrequent set of conditions that have to exist for a clip to be deleted after using the adjust time and date function, but I've seen no posts yet that have clarified this.  Any further details you have would be worth reporting - for example did you change the date/time to earlier or later?  If only some date/time changed clips have disappeared, do they have anything in common, not shared by the clips which havn't disappeared? 
    You could restore your library from Time machine or, if there are not many lost clips it may be simpler and quicker s to re-import (or drag and drop) the clips from a backup and correct affected projects.  (Maybe you can change their date and time before importing them).
    As for the library size were the clips big enough to make a visible difference to the library total?
    Have you searched for the missing clips by name?
    Geoff.

  • Aperture 3.0.3 Adjust Date and Time

    Working on a batch (~3K) scanned images that all need to be adjusted for date and time, the adjustments and so forth. All notes below is with Master images.
    My observations so far with the unpredictable "Adjust Date and Time" function, "D&T" hereafter and some suggestions on improving Aperture.
    0. Always make sure that you start by "edit->deselect all" - even if nothing is selected.
    APPLE: PLEASE MAKE IT SIMPLER TO SEE WHAT IS SELECTED (MASTERS, VERSIONS, etc).
    1. Always use US language selection - Language selection seems to matter for D&T. I am from Denmark, living in US but often switch between US and DK language (to get some special characters). In Denmark we use dd-mmm-yyyy and in use we use mmm-dd-yyyy. When i use the danish locale with the "D&T" function Aperture D&T is totally unpredictable - so stick with US.
    APPLE: PLEASE DONT BE TOO SMART BUT USE THE D&T FORMAT LISTED IN THE D&T DIALOG BOX
    2. D&T time-shift does not work. Unfortunately this 'capability' cannot be disabled - Somehow Aperture check what the time was originally stamped on the image and use this for the new "D&T" - first i though that this was adjusting ~1 sec between images but it seems that Aperture do something like the following (sorry for my non-applescript'ish examples below)
    newTime = "edit->adjust date and time"
    foreach image do
    set time to image.D&T.time
    try() change image.D&T.time newTime+image.D&T.time
    catch () newTime image.D&T.time
    Not good as it time-shift from the original picture - if the time is good this is not a problem but if time (from the stamp) is off (like all of mine) most likely the time will get the date to wrap into the next day (or year if you got a bunch of images)..
    APPLE: PLEASE ADD AN OPTION TO DISABLE TIME-SHIFT in D&T
    3. Dont include DNG - Aperture cannot change the date for a dng and it seems to screw up the time-shift in "D&T" - i think the algorithm do something like
    newD&T = "edit->adjust date and time"
    for each image do
    set D&T to image.D&T
    try() change image.D&T to newD&T
    catch() newD&T = image.D&T
    The problem seems to be that when Aperture work on a image it cannot change it use this images (that it cannot change) D&T for the next images D&T, i got a bunch (a ton actually) of examples
    1994
    1994
    2008.dng
    2008
    When using a different language locale it gets even worse.
    APPLE: PLEASE DO NOT CHANGE THE D&T COUNTERS WHEN WORKING ON A FORMAT NOT (WELL) SUPPORTED.
    4. Always check your trash for images - after i deleted projects (empty, no images) i have found images for those projects in the trash. Cannot explain why this is but i am happy that i checked the trash before emptying - put back works just fine.
    I am currently using the following methodology for my scans.
    1. load in all pics, create albums for years and projects for months - e.g. 1993.0201 <text>, 1998.0327 <text> and sort scans to the correct albums and projects
    2. export each album as separate libraries, open library, fix D&Ts, places and faces. Exit, reopen and check trash for images that should not have been deleted. Clean trash, close.
    - For faces i add a few pics' of recognizable folks - open faces and select from the many suggestions aperture offers - very fast.
    3. Open or import library to master (my master got ~20K pics currently)
    I am interested in learning if i am the 'only one' with Aperture D&T 'problems' or if i am using the tool incorrectly.
    Kenneth

    nathan:
    What type of edit were you making. Have been trying to duplicate that and cannot. I've changed the date and selected the original file to be changed also. Then I edited the file by cropping, changing the exposure and shadows and saving. Both versions are still tiff files.
    Now these are tiff files that I converted over from jpgs with Photoshop as my camera doesn't take tiffs. Don't know if that will make any difference.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How to show Date and Time with TimeZone

    Dear All,
    I have to show Date and Time with TimeZone abbreviation,
    for example:
    1) 31 March 2011 2:30 in india standard time - it should show in screen 31 March 2011 2:30 IST.
    2) 31 March 2011 2:30 in Australia/New Zealand - Eastern time zone it should show in screen 31 March 2011 2:30 AEST.
    how can i show *Australia/New Zealand - Eastern time zone to AEST*,
    I tried with format DD MMM YYYY HH:MM zzz, and i looked time zone API too.
    Appreciate your help
    Thanks
    Daya

    Dayananda wrote:
    ok, than i have to use zzzz format, as z won't help in my case, so i have to use zzzz which display descriptive value like, Indian Standard Time i.e. ISTPer the javadocs there is a very specific reason why that is a problem especially if you intend to support many timezones in one application.
    "+For compatibility with JDK 1.1.x, some other three-letter time zone IDs (such as "PST", "CTT", "AST") are also supported. However, their use is deprecated because the same abbreviation is often used for multiple time zones (for example, "CST" could be U.S. "Central Standard Time" and "China Standard Time"), and the Java platform can then only recognize one of them+."
    Thus you have one single case where there can be many and moreover it can change (twice a year I believe.)
    There is a standard source for this information although when I tried it it appears to not work.
    If the app only needs to display one zone then provide a configuration value that allows a user to overload the display value.
    If the app needs to display many values then you MUST inform business users of the problem because there are duplicates and they, not you, need to decide specifically what happens in those cases.

  • Adjusting date and time in Elements Organizer

    Hi!
    Is there any way to adjust the date and time in Elements Organizer, to a specific date and time that includes not only hours and minutes, but also seconds?
    My version of Elements Organizer is version 13.0 (20140904.m.62073) x64, for Mac.
    Thanks!
    Elements Organizer 13.0.0.0
    Core Version: 13.0 (20140904.m.62073)
    Language Version: 13.0 (20140904.m.62073)
    System:
    Operating System Name: Mac OS X
    Operating System Version: 10.10.1
    System Architecture: Intel CPU Family:6 Model:60 Stepping:3 with MMX, SSE Integer, SSE FP, SSE2
    Built-in Memory: 8,00GB
    Free Memory: 6,00GB
    Important Drivers / Plug-ins / Libraries:
    Apple QuickTime Version: 7.73
    Adobe Reader Version: Not installed
    Adobe Acrobat Version: Not installed

    It looks like there are a few different threads on this topic.  I posted something yesterday that explained how I used a bash script to automatically parse through the .mov files in my iMovie Events folder and set the "Last Modified" date according to the file name (which had the date in it).  It saved me a lot of time since I had >500 clips to set to the proper time.  The post might be useful to others:
    Re: Horrible iMovie 10 timestamp bug

  • Not able to adjust Date and Time

    For about a month now I haven't been able to manually adjust the time and date. Everything else on my iPod works fine... but when I click to change time and date it just goes black for about one second then goes back to the main menu. I don't think anything has been added to it that is unsafe.. but to be sure I scanned all my folders that are on my iPod and then scanned my entire computer. Nothing came up in the scan.
    I do have the most up to date version of the software that is out.
    It currently says that it is Friday, February 23, 2007 at 5:33pm. It changed it's time and date on it's own... I can't correct it.
    So if anyone knows how to fix this please tell me how.

    I am having a similar problem. The time is off by 12 hours exactly (ahead). When I touch date and time, screen goes black for less than a second and then reverts to main screen with all of the icons. I have first generation touch and just noticed this problem. All of the software is up to date. Any one know of a fix for this?

  • Not able to adjust date and time - format does not permit

    Hello,
    I just scanned one old photo as a JPG and then imported it to Aperture 2, I renamed the file 1976-07-01_01.jpg based on the date the pic was taken. Then I tried to adjust the date and time in Aperture but got this error window:
    "Unable to adjust master file
    Aperture was not able to adjust the date and time of the master file "pic.jpg" because it has a format that does not permit date modification."
    What next?

    I am having a similar problem. The time is off by 12 hours exactly (ahead). When I touch date and time, screen goes black for less than a second and then reverts to main screen with all of the icons. I have first generation touch and just noticed this problem. All of the software is up to date. Any one know of a fix for this?

  • How to pass system date and time with tabular from in Update only Mode.

    Dear Friends,
    i have created tabular form with UPDATE Only .here i am assigning work to another multiple users.i want to insert system date and time when i assign work to multiple users.
    How can i insert system date and time into table using tabular form in Update Only Mode.
    beacuse i have pass in default system date it's working only with add row button.
    How can i pass system date and time in update mode in tabular form.
    Thanks

    Hi,
    You just create a trigger on the table on which you build your tabular form:
    e.g:
    CREATE OR REPLACE TRIGGER  "AUDITING"
    before insert or update on "MYTABLE"
    for each row
    begin
        if inserting then
            :new.created_on := localtimestamp;
            :new.created_by := nvl(v('APP_USER'),user);
        elsif updating then
            :new.updated_on := localtimestamp;
            :new.updated_by := nvl(v('APP_USER'),user);
        end if;
    end;Regards,
    Fateh

  • Changing Date and Time with dng files

    My camera settings for date and time were wrong.
    So some of my files in Lightroom 3 have the wrong dates.
    This morning I downloaded Photoinfo 2.0.1 but it doesn't seem to want to accept "dng" files to change the info.
    It will accept "jpeg" files no problem.
    Can anyone help me with this.
    Thanks

    Open the Catalog Setting panel (Lightroom menu on Mac and Edit menu on Windows). Configure the Metadata>Exif tab as shown in red on screenshot. Select your images and choose Save Metadata to File (Ctrl/Cmd+S) from Metadata menu (same menu as Edit Capture time. This will save the date/time changes back into the file rather than just the catalog.

  • 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

  • How to read date and time with Oracle_Loader (10g)

    ip pc username date time
    1.1.1.1 WS1 test 2000/01/01 01:01:01
    I am trying to read the date and time from data formatted as above from a .txt file.
    create TABLE test (IP char(20), OCID char(15), ID char(30), date_logon date, time_logon date)
    ORGANIZATION EXTERNAL (TYPE ORACLE_loader DEFAULT DIRECTORY phonebook
    ACCESS PARAMETERS (FIELDS TERMINATED BY WHITESPACE
    (IP char(20),
    OCID char(15),
    ID char(30),
    date_logon char(30) DATE_FORMAT DATE MASK "yyyy/mm/dd",
    time_logon char(30) date_FORMAT date MASK "hh24:mi:ss"))
    LOCATION ('test.log'));
    However, my external table returns a date (2007-05-01) AND the time for the time_logon column (e.g. 2007-05-01 01:01:01) . I just want the time (e.g. 01:01:01).
    What am I doing wrong?
    *I tried: date_logon char(30) DATE_FORMAT DATE MASK "yyyy/mm/dd hh24:mi:ss", reading both the date and time at the same time, but it doesn't work.
    Thanks.

    Justin, thank you so much for your help.
    When I try:
    SELECT a.ip, a.ocid, a.id, TO_CHAR( a.date_logon, 'DD-MON-YYYY HH24:MI:SS' )
    FROM test a
    date_logon entries are all dd-mon-yyyy and 00:00:00 (i.e. no time was stored).
    I don't have control over the text file, so I don't think I can make any changes to the formatting.
    I tried to declare the column as 'timestamp':
    date_logon char(60) DATE_FORMAT timestamp MASK "yyyy/mm/dd hh24:mi:ss",
    but time is still displayed as 00:00:00:000.... which leads me to suspect that the culprit is the space between date and time in the text file.
    Say if I have 2007/05/25 and 2007/05/01 16:19:23 in two separate date columns. Is it possible to grab the time from the second column and append it to the first column (while still retaining the DATE property, i.e. 2007/05/25 16:19:23).
    Thanks!

  • Adjusting Date and Time in iPhoto

    I've just moved from PC to Mac, and I've just imported all my photos into iPhoto, as I'm wanting to add a bit of order to them. Some of them are old digital photos with the incorrect date (of 1912!). When I go to adjust them to the correct year (2003), the date adjusts backwards into the 1800's, not forwards to the right date! I've looked through the help and on here and I cannot figure out why this is happening - is anyone able to help me?
    Thanks in advance.

    Have you tried the batch change command - just under adjust date/time?
    Someone else who had this problem ended up having to export the photos, reimport them, delete the old ones and the newly imported ones worked fine - I have never seen this happen myself
    LN
    Message was edited by: LarryHN

Maybe you are looking for

  • Unable to view SmartList in Planning webforms in 11.1.1.2

    Hi Friends, I am using Hyperion Planning 11.1.1.2 webforms. I am Unable to view SmartList in Planning webforms. steps I have done: 1.Created a SmartList. 2.Added entries to Smartlist 3.Assigned the SmartList to a dimension Member(Account Member). 4.I

  • Need to Push Every Event in a Calendar Ahead One Week (AppleScript?)

    Hi folks. I have an iCal calendar with many events in it. Some are multi-day, some are single day. I need to alter the start (and end) date of every single event in this calendar by one week. In other words, I need to push the entire calendar one wee

  • How to create a document library with the attachments of a task list?

    Hi! Basically, I need to create an event handler, that in the time when a file is attached to a task, make a copy of the file in the document library. Unfortunately this requires knowledge in programming and is not even possible for me to install the

  • Three (LIkely unrelated) Issues

    Hey all, I've had my Pro for a little less than a month and in the last few days, two problems have developed. First, I've been having the graphics glitches everyone's been talking about. I get them when scrolling in web browsers (tearing), resizing

  • Badi help required : VL02N

    Hi Friends, I need help on one of our scenario. There is a code written in the BADI "mb_document_badi" and the method name 'mb_document_update". i.e., in IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE. Now we are running VL02N Transaction, Enter delivery