How to implement 24 Hours Time Clock?

Hello All,
We have a requirement to implement 24 hours time clock. with the text box and up and down arrows to increase the hour/minute/second. Much similar to windows time setting appears below the clock when you double click the time shown in windows startup bar.
Could you please tell me any pointer, to implement this behaviour in OA framework.
Thanks

Hi,
yup thats redundant, actually this is what i tried:
Co code(process request)
OARawTextBean xx = (OARawTextBean)webBean.findChildRecursive("item1");
String ij="<script type=\"text/javascript\" src=\"/OA_HTML/muk.js\">"+"</script>"+"<script language=\"javascript\">"+" Clock(); "+" </script>";
System.out.println(ij);
xx.setValue(pageContext,ij);
Content of muk.js
var dateform
speed=1000
len=28
tid = 0;
function dodate()
f.date.value=new Date();
tid=window.setTimeout("dodate()",speed);
function start(x) {
f=x
tid=window.setTimeout("dodate()",speed);
// for some reason on some pages this crashes netscape
function Clock()
document.write('<FORM name=dateform><input name=date size=')
document.write(len)
document.write(' value="Clock: Requires Javascript"></FORM>')
start(document.dateform);
But clock is not getting started! It gives some error in f.date.value, on normal html page it works fine. You can copy paste my previous java script in a plain html file and check. i don't get y on a oaf page its giving error !
Lets see what gurus in java script and oaf present here can say....!
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to convert 12 hour time format to 24 hour time format ?

    Hi,
    How to convert 12 hour time format to 24 hour time format is there any FM if not, please suggest me how to convert .
    regards,
    rakesh

    Hi,
    Have you tried function module HRVE_CONVERT_TIME
    Input parameters will be like
    TYPE_TIME                       B
    INPUT_TIME                      01:00:00
    INPUT_AM_PM                  PM
    Output
    OUTPUT_TIME                     13:00:00
    Regards

  • How do I get the time clock to stop circling on an undelivered email?

    I created a small movie using quick time player. I attached it to an email to send to family through Safari. The email won't go through. The time clock has been circling for 4 hours. It's slowing down my email and I can't do anything to stop it. What do I do?

    It may be that you are getting lots of emails or messages?
    I suggest you go into mail settings and system settings and see what your various alert noises are set as and see if any are the same as the one you're hearing. Then you can figure out whats causing it.
    Alternativley you may have a stuck keyboard button? This produces a chime/ ding every time it is pressed if it cannot be used in the program ou are running or on the desktop.
    I also assume you are NOT talking about the Startup Chime?

  • Forgot to set camera clock back an hour.  How do I batch the time?

    I forgot to set my camera clock back one hour, and I need the files to read the actual time it was. So, basically, everything shot is off by one hour exactly.
    It all is imported into my library already. How can I adjust the time so it falls back one hour for each file?

    Thanks! That was easy

  • How to select 12-hour clock in iPhone?

    I'm using my iPhone 3G in the UK and would prefer to use the 12-hour rather than 24-hour clock format. Unfortunately the "24-Hour Time" on/off slider in Settings is grayed out and stuck on 24-hour format. How can I make this selection active so I can turn off the 24-hour format?

    Basically your stuffed. If you want a 12 hour clock you need to use the USA settings, the problem then is that the date format is up the spout and the calendar in month view starts with a Sunday! Come on Apple give us in the UK the 12 hour option!

  • I'm running Pages version 5.2 on a Desktop Mac version 10.9.2. with the Pages app open how do I use the Time Machine to go back five hours to see the work?

    I'm running Pages version 5.2 on a Desktop Mac version 10.9.2. With the Pages app open how do I use the Time Machine to go back five hours to see my page? Can I access Time Machine within an app like Pages? How do I enter Time Machine within the application? It always takes me to the Finder. I apolgise for the mumbo jumbo. I simply do not know how to use Time Machine. It makes sense when I follow the Tutorial but then I lose it.

    OK. You've kind of skipped over the reason why you want to go back five hours, but my assumption would be that you've made changes to a Pages file that you want to revert.
    There are two ways to tackle this. From Pages itself, open the current version of your document, and from the File menu, click Revert To, and Browse All Versions. You'll then be in the Time Machine interface for that file, and can browse back to the version you want.
    Or, outside of Pages, you can select the file (or the folder it was originally in, if you've since deleted it) and enter Time Machine from the TM menu (it sounds like you've already tried this?)
    best
    Matt

  • How can I implement a real time datawarehouse

    Hi, I'm a little lost here but I want to know how can I implement a real time datawarehouse in sql server, I don't know if it is only to make the extraction process the shortest time possible.
    Thank you

    Hi Mega15, 
    I agree with everything Seif and Louw said, but I'd like to add that if you are using SQL Server 2012 or 2014 and you want to use DirectQuery or ROLAP mode (depending on what SSAS mode are you using, tabular or multidimensional) you may be interested on
    using columnar indexes on your base tables. 
    Analytical and aggregated queries will take GREAT advantage from these indexes, they will perform much better than with traditional B-Tree indexes in most of your scenarios. 
    Regards. 
    Pau.

  • How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    Simon,
    you can use the duration function:
    B4=DURATION(0,0,B1/B2)
    you can further, format the cell as a duration like this using the cell inspector:

  • How the implementation differs between BW and BI , Is BI takes more time fo

    Hi All,
    I would like to know difference between implemenation and time lines for MM as mentioned below.
    How the implementation differs between BW and BI , Is BI takes more time for implementing MM module  than on BW?
    Thanks in advanced. (Full points will be awarded)
    With Regards,
    PCR

    Hi Timo,
    Thanks for response!
    But as i read from the following url: http://docs.oracle.com/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html, the setQueryTimeOut(int timeOutMills), the timeOut is mentioned in milliseconds. Please correct me if I am wrong.
    and i have overriden the executeQuery() method in the View Object Impl class as shown below:
    public void executeQuery() {
    Map sessionScope = ADFContext.getCurrent().getSessionScope();
    sessionScope.put("MyQuery", this);
    try {
    super.executeQuery();
    } finally {
    sessionScope.remove("MyQuery");
    throw new JboException("Query Taking too long to respond");
    and in the JAVA class i am calling the above method like this:
    monitor.setQueryTimeOut(6);
    monitor.executeQuery();
    But the issue is:
    1. The above exception message is getting carried forward to other pages as well. I mean somewhere in the session/ADFContext this message is being saved and error comes up/pops up when i click on other tabs of the page. How do i clear this?
    2. The above exception message is coming for the first time but when i click the 'Submit' button second time, i am getting the results and also the message that 'Query is taking too long to respond'. This should not be the case, everytime it should show the same message as the timeout limit is less and the query should end without fetching the results.
    Kindly let me know how to resolve the above issues, any pointers will be helpful.
    Thanks in advance.
    Edited by: user9223904 on Nov 3, 2012 4:42 AM

  • TS3423 Mac book pro stops responding after Maverick OS restart. Currently have a circle with a line through it after 20+ hours. Tried to shut it down and use the Time Machine to restore but no response. How can I restore with Time Machine if it will not s

    Mac book pro stops responding after Maverick OS restart. Currently have a circle with a line through it after 20+ hours. Tried to shut it down and use the Time Machine to restore but no response. How can I restore with Time Machine if it will not start?

    sonjadg,
    you can purchase a replacement pair of grey installation DVDs for your MacBook Pro from either Apple or iFixit. If Startup Manager is only showing an OS X Installer volume, then it sounds like the Mavericks installer had a problem midway through its installation process. To fix this, you’re going to need to erase your internal disk and reïnstall your original version of OS X from the grey Mac OS X Install DVD, use Software Update  to get it back to 10.6.8 (presuming that your MacBook Pro originally came with Snow Leopard), and then restore from Time Machine.

  • How to Implement a Time Limit Feature in an Online Test Application ?

    I am creating an Online Test application. The time limit can be stored for a Test in the database.
    How to implement a time limit such that when the test is started (user clicks on the Start button to go to the fragment containing the Questions) the time left is shown and the test ends (goes to home page) when the timer reaches zero.
    Thanks

    Hi,
    timestamp is a date and thus cannot be used directly to determine seconds passed. So what you need to do is to build the difference between a saved time stamp and the current time.
    http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Timestamp.html
    So if you have two time stamps, then calling getTime() on each and building the difference gives you a value, which is millisecond. So to get this to an int value you divide it by 1000
    Frank

  • How can I set screen saver clock which show time and date when all screen is black. Other phones have this option but I didn't find on iphone. Pl guide.

    How can I set screen saver clock which show time and date when all screen is black. Other phones have this option but I didn't find on iphone. Pl guide.

    HA!  I figured the find my iphone out!!!!! You can have more than one icloud account in "Mail, Contacts and Calendars".  So my husband's & kids' phone icloud account under "settings, icloud "is their individual @me.com account.  Set it to everything you want EXCEPT Find My Iphone.  Then under "settings, mail/contacts/calendars" you set up both accounts (your @me.com which may already be there), then add another with the main appleID and enable ONLY Find My Iphone.  Now when any of us log into Find My Iphone from any device with our main apple ID for the app store, all the devices show up!!!! YIPPEE.  I made my own day!
    I think the message I got previously was because I hadn't disabled the find my iphone on the @me.com account first.

  • How to implement real-time refresh datas in obiee?

    How to implement real-time refresh datas in obiee?

    Can you elaborate more...
    If you want to see refreshed data in OBIEE Reports, you need to implement Caching mechanism based on how you often refresh warehouse..
    [http://download.oracle.com/docs/cd/E05553_01/books/admintool/admintool_QueryCaching6.html]

  • How can I change the time shown that the picture was taken on the edit panel - it is an hour slow

    How can I change the time shown that the picture was taken on the edit panel - it is an hour slow

    Thanks!  I can't believe I missed that!

  • 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.

Maybe you are looking for