How can I make the current date/time be sent when emailing as XML?

I'm creating a form for a customer to use for submitting print jobs. This customer will be emailing the XML form data, which will in turn be converted into a production order. I'd like to make the PDF form capture my customer's system time, so that I know when they filled out the form. I COULD just leave that up up the customer and use required current date and time fields, but that provides the ability for the customer to falsify that information.
Is there any good way to capture the current date/time in the XML data, so that the customer doesn't need to nor has the ability to?
Any suggestions would be great!

You can use the following methods getHours(),getMinutes(), and getSeconds() from the date object to obtain the values for hour,minute,and second.
Click here to see an example:
http://66.34.186.88/LiveCycleSamples/.3bbc2f4b.pdf

Similar Messages

  • How can I return the current Date in Java?

    I am new to Java, and basically I want to know how I can return the current date as a variable, so for example, I have declared the following date variable
    private java.util.Date currentDate;How can I return the current date, do I have to write a method? To be more specific, I need to write a setMethod, that simply returns the current Date in Java.
    Please point me in the right direction.
    Thanks,

    If all you want is a date for printing or displaying, the easiest way is to use Date as shown below. If you need something more complex, look at the Calendar API.
    import java.util.Date;
    class DateEx
         public static void main(String args[])
              Date now = new Date();
              System.out.println(now);          
    }

  • How can I make the current row in a different color  in  ADF Table 10.1.3

    Hi all
    in JDeveloper 10.1.3 ADF Table ,
    How can I make the current row in a different color ?
    thanks

    And what exactly would "the component" be?
    I tried the af:outputText, but it just creates a <span> around the value of the cell, and if I try the af:column it just won't use it at all!
    Any suggestions?

  • How can I make the message date appear with the time for unread messages?

    Mail systems I am moving from display the date & time with the messages. I need this displayed to determine aging and importance of received mail. When archiving/saving old mail it helps filing mail off and not duplicate archived messages.

    Thunderbird displays time and date for all messages except for the present day messages. The time only is displayed for today and the date is appended at midnight.

  • How can i make the popup window have scroll bar when the content is long?

    Hi,
    My page have a button, when click it, it will show a popup window, and invoke a taskflow.
    <af:commandToolbarButton text="edit"
                                             icon="#{sdk_EmImageMap.toolbar.editCommand.icon[true]}"
                                             disabledIcon="#{sdk_EmImageMap.toolbar.editCommand.icon[false]}"
                                             id="edit"
                                             binding="#{pageFlowScope.procBean.editBtn}"
                                             action="dialog:edit" immediate="true"
                                             partialSubmit="true" useWindow="true"
                                             windowEmbedStyle="inlineDocument"
                                             windowHeight="400" windowWidth="750">
    And the page in the taskflow is :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
       <jsp:directive.page contentType="text/html;charset=UTF-8"/>
       <f:view>
          <af:document title="#{pageFlowScope.procStepEditor.pageTitle}"
                       id="document">
             <af:form id="f1">
                <af:panelStretchLayout id="pgl1" topHeight="10%">
                   <f:facet name="top"/>
                   <f:facet name="center">
                      <af:panelStretchLayout id="psl1">
                         <f:facet name="center">
                            <af:panelGridLayout id="pgl3">
                               <af:gridRow marginTop="5px" height="auto" id="gr1">
                                  <af:gridCell marginStart="5px" marginEnd="5px"
                                               width="100%" halign="stretch"
                                               valign="stretch" id="gc1">
                                     <af:panelBox text="panel 1"
                                                  id="pb1"
                                     </af:panelBox>
                                  </af:gridCell>
                               </af:gridRow>
                               <af:gridRow marginTop="5px" height="auto" id="gr2">
                                  <af:gridCell marginStart="5px" marginEnd="5px"
                                               width="100%" halign="stretch"
                                               valign="stretch" id="gc2">
                                     <af:panelBox text="panel 2"
                                                  id="pb2">
                                     </af:panelBox>
                                  </af:gridCell>
                               </af:gridRow>
                               <af:gridRow marginTop="5px" height="auto" id="gr3">
                                  <af:gridCell marginStart="5px" marginEnd="5px"
                                               width="100%" halign="stretch"
                                               valign="stretch" id="gc4">
                                     <af:panelBox text="panel 3"
                                                  id="pb3">
                                     </af:panelBox>
                                  </af:gridCell>
                               </af:gridRow>
                            </af:panelGridLayout>
                         </f:facet>
                         <f:facet name="bottom">
                         </f:facet>
                      </af:panelStretchLayout>
                   </f:facet>
                </af:panelStretchLayout>
             </af:form>
          </af:document>
       </f:view>
    </jsp:root>
    And in panel 2, the content is added dynamically, so it cannot control the width. Once it is very long, then the UI will not show all the data in panel2, and panel 3 also cannot display.
    So i want to the window have a scroll bar. How can i do this?
    Thanks.

    Hi Timo.
    Thanks for your replies.
    I change the panel 2 like this:
    <af:gridRow marginTop="5px" height="auto" id="gr2">
                                  <af:gridCell marginStart="5px" marginEnd="5px"
                                               width="100%" halign="stretch"
                                               valign="stretch" id="gc2">
                                     <af:panelBox text="panel 2"
                                                  id="pb2">
    <af:panelGroupLayout id="pgl4" layout="scroll>
    </af:panelGroupLayout>
                                     </af:panelBox>
                                  </af:gridCell>
                               </af:gridRow>
    But it still cannot display a scroll bar for the panel 2.
    Thanks.

  • How can we make the Retake Quiz button only appear when user reenters the course?

    In a Captivate 8 Quiz, we need to force the user to close the course (so attempts are captured by the LMS) from the Quiz Results page. The Retake Quiz button cannot show at this time. However, when the learner reenters the course from the LMS, the bookmarking brings the user to the Results page again. We need a Retake Quiz button to only show when the user reenters the course, not on Quiz completion. Disabling the bookmarking disables the reporting of attempts. Does anyone know a way to make that happen or a workaround?

    Have a look at my blog post:
    http://blog.lilybiri.com/review-only-incorrect-slides-captivate-6
    Lilybiri

  • How can I make the landscape or portrait senser working when playing video

    I use MPMoviePlayerController to play the movie. Can I implement it like the method - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceO rientation?
    I know we can set orientation using setOrientation:UIDeviceOrientationPortrait animated:NO. I does work. But how can detect the sensor and change it? Thanks. Kevin.

    I am not used to MPMoviePlayer, but about the device orientations change, I know that you will find anything you need on the [UIDevice information page |http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIDevi ceClass/Reference/UIDevice.html#//appleref/occ/instm/UIDevice/beginGeneratingDeviceOrientationNotifications]
    (see beginGeneratingDeviceOrientationNotifications)
    There's also quite a solution [there|http://www.iphonedevsdk.com/forum/iphone-sdk-development/5797-change-ori entation-via-accel.html]
    Message was edited by: g_Marvin

  • How can I make the E7 to produce dial-tones when c...

    Of course, I can hear the DTMF dial tones when I dial the number from the touch screen.
    But, I need the E7 to send dial tones when I call a contact (hence I don't dial from the touch screen). I need that because I'm using a calling card which needs the dial tones to be sent.
    It works like this:
    In the contact details I enter a long number, with pauses, like:
    18001231234p09876543p011392109876
    where the 1st numer calls the calling-card number, the 2nd is the pin, the 3rd is the international number I'm calling.
    Of corse, when I call that long number (which is a contact) the carrier needs to "hear" the dial tones.
    Hence, the question in the subject line.
    P.S. If there is a better way to use calling cards, pls let me know.

    I think I was wrong. After trial and re-trials I see the E7 actually sends out the dial tones.
    Well, I don't know why it did not work at first. Now it's ok.

  • How can i make the Master data extractor to delta enable

    Hi,
    I am working on 0EQUIPMENT_ATTR(Master data).
    I want to load the data to ODS,
    By default SAP has not provided delta for this Object.
    can anybody know how to make this 0EQUIPMENT_ATTR to delta enable.
    or any other solution.
    its urgent..
    help me
    Madhu

    Hi dear and welcome on board !
    If a std datasource is not available in delta mode, you cannot change it in order to deliver a delta...if you consider your requirement absolutely necessary, you can go for a generic datasource (RSO2) and try to set a generica delta...
    Hope it helps!
    Bye,
    Roberto
    ...please don't forget to reward the answers...it's THE way to say thanks here...

  • A7000: How can I make the smartphone as a USB storage when I connect to the PC?

    when I connect the a7000 to my PC, it shows the Lenovo_Suit but i want reach my data inside without using the MagicPlus.

    1.Plugin the USB cable
    2.Pull down the notification area in your phone
    3. Select "USB Connected"
    4. Select Media Device (MTP)
    Go to your PC and you should be able to see your phone as A7000 as a drive in "Portable Devices".

  • How can I make the space bar repeat rapidly?

    How can I make the space bar repeat rapidly?

    When Safari is in FullScreen mode, menu bar will be hidden.
    Safari window to fit the screen?
    Move the mouse pointer to the bottom right corner of the Safari window.
    Double arrows will appear. Drag it to resize the window to fit the screen.

  • How can i make it so every time i save something the date is included in the title?

    how can i make it so every time i save something the date is included in the title?

    More information would be helpful. Are you doing this in an application? If so, what application.

  • How to get sqlplus to print the current date/time

    From a unix command line I can type:
    prompt> date; <any_Cmd>; date
    This will result in a timestamp being output before and after the command you inserted. Is there a way to make sqlplus print the current date/time after it is done executing an sql statment. This would be useful for me to know how long it took to execute and sql statement without watching it.
    Something like:
    SQL> select * from table; date;

    u cld set the following statements in sql*plus :
    sql>set time on
    sql>set timing on
    hope this solves ur problem.

  • How can I make the sort default "by date" in iPhoto?

    On one of my computers, every time I load an event, it goes to the top of the library and I have to go to "sort/by date" to get it to go to the end or bottom of the library...where I want it.
    On my other computers, the default seems to be "by date" normally....
    How can I make the default sort option "by date?"
    Thanks.

    I am not by that computer now.  But that makes sense.
    I combine events that are imported into that iPhoto.  I suppose that would qualify as manually sorting....right?
    Still, shouldn't there be a way to overide that and make "date" the default.  That is, if your observation is correct.
    (I'll take a look tomorrow....)
    Thanks!!

  • HT1364 I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanen

    I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanent?  I have an older machine with Windows XP.

    I don't believe mounting the hard drive should be necessary, unless you have several external drives and want your computer to recognise them as folders, rather than drives. I've never had to mount a hard drive, ever. If you don't know how to do it, then it shouldn't be necessary now.
    Try this:
    Prepare iTunes so that it can see the external drive.
    Make a note of which drive-letter the external drive has been allocated. (Look in Windows Exploer)
    Look at the file location for a song. Make sure it plays (and therefore that iTunes has found it). Highlight it and select File/Get Info/Summary>Where: and make a note of the drive letter for that song.
    Close and shut down the computer.
    The next time you turn the computer on again, connect the external drive
    Before you start iTunes - check the external drive in Windows Explorer. Is it ready, does it have the same drive-letter that it had last time? Can you go into the drive and see the files on it?
    Once you can, start iTunes. (If the drive lettter has changed, you need to work out why before going any further.)
    If iTunes fails to find your external drive, you need to check where iTunes is looking for your Library.
    Select the same song you checked before (presumably iTunes can no longer find it). Follow the procedure for locating it. You should be able to see where iTunes thinks the file is. It's the drive that counts. Which drive letter is iTunes looking at? Is it the same one that it was previously (which should also be the same one that the drive has now).
    What happens, which step do you have problems with?
    Message was edited by: the fiend

Maybe you are looking for

  • Can't play video when it's type "TV Show"

    I've got some videos copied from TV show DVDs.  They sync to the iPhone OK, but if I have them set as type "TV Show" in the Get Info tag, they don't show up in video.  If I go in iTunes and change the type to "Movie" they suddenly appear and play fin

  • What connector type is used to plug a guitar into the iPad?  Does it connect to the earphone jack?

    What connector type is used to plug a guitar into an iPad?  Does it connect to the earphone jack?

  • Retry an http request

    Hi,           Is there a way to instruct an http client (browser) to re-issue the same           http request it issued for this request ?           The scenario is as follows :           I have a client sending a "heavy" http post request, now when

  • Adding Search box?

    I have created most of my pages with the form with report template. I notice that sometimes I get a search box on my page, and sometimes I do not. I don't understand why. Right now I can't seem to get the search boc to appear on a form or a report. E

  • SG 200-26 led system parpadea intermitentemente

    Amigos tengo un switch modelo SG 200-26 el cual como primer indicio comentar que el LED system parpadea intermitentemente. Luego esto enchufo un cable ethernet a un puerto X y éste parpadea como maximo 3 segundos en verde y luego se apaga completamen