Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    0

    Default DateTime picker problem

    Hi,
    I am creating a hr portal which will arrange an interview with an applicant.
    When I take the value of the time and value of date a jsp using dojo and insert it in an email that will be sent to the applicant, the email reads:
    Hello darren,you have been selected for the java job interview on 2012-09-14T00:00:00+01:00 at 2012-09-07T04:25:00+01:00.
    The 1st should read date only and the second with time only.e.g. 2012-09-14 and at 04:25.Any help????

    jsp is :
    <sd:datetimepicker name="timedate" startDate="07/09/2012" displayFormat="dd-MM-yyyy" value="today" type="date" label="Select Date for interview"/>
    <sd:datetimepicker label="Time" name="time" type="time" displayFormat="HH:mm" required="true" onchange="false"/>

    i am adding " +timedate+ " and "+time+" into my email.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,039
    Rep Power
    20

    Default Re: DateTime picker problem

    datetimepicker is Javascript.
    Javascript != Java.

    Now, since the email is probably being sent from the server, how do you translate the date/time from the request?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. [Help] date picker problem!
    By buihoang in forum AWT / Swing
    Replies: 0
    Last Post: 05-19-2011, 09:51 AM
  2. Date time picker
    By Dipke in forum New To Java
    Replies: 4
    Last Post: 10-20-2010, 12:52 PM
  3. what is java free datetime picker
    By newbiejava in forum New To Java
    Replies: 5
    Last Post: 07-24-2010, 03:13 PM
  4. Date Picker in swt
    By ashin in forum SWT / JFace
    Replies: 4
    Last Post: 12-21-2009, 07:12 PM
  5. Date Picker
    By kishan in forum Advanced Java
    Replies: 4
    Last Post: 08-31-2009, 03:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •