Any IDEA of Getting Server Time & RUn JavaScript Clock

Hi ,
Any idea of getting Server Time & running javascript Clock
I tried using ..
var tDate=<%=new java.util.Date()%>;
But it is not working
Plz help

You can create a date in javascript like this
new Date(year, month, day, hours, minutes, seconds, milliseconds) You don't have to supply all the parameters (this is javascript after all)
Getting it from java, into javascript...
<%
java.util.SimpleDateFormat sdf = new java.util.SimpleDateFormat("yyyy,MM,dd,HH,mm,ss,SS");
Date now = new Date();
String sNow = sdf.format(now);
%>
var tDate = new Date(<%=sNow %>)

Similar Messages

  • HT204408 I keep getting this error message trying to get into facetime, any ideas? "The server encountered an error processing your registration, please try again later"

    I keep getting this error message trying to get into facetime, any ideas? "The server encountered an error processing your registration, please try again later"

    Hello Mikeytsmith
    Check out the article below for troubleshooting the issue of activating FaceTime for Mac.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Can't open my Yahoo email.  Message says "connection to the server failed". Any ideas to get there?

    Can't open my Yahoo email.  Message says "connection to the server failed". Any ideas to get there?

    Hi saghd,
    I have an article for you that will walk you through some troubleshooting steps regarding this issue:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Do you have any ideas why Motion 5 would run slow on a computer? I have an Imac with 8Gigs of ram, and plenty of hard drive space, but it still gives me the beach ball when I add a few lights and effects. I'm at the end of my rope.

    Do you have any ideas why Motion 5 would run slow on a computer? I have an Imac with 8Gigs of ram, and plenty of hard drive space, but it still gives me the beach ball when I add a few lights and effects. I'm at the end of my rope.

    You probably don't really need 1080 at 60 for your finished projects but since you're just starting out with Motion, you need to lower your expectations. A long way. 1080 is about 2 million pixels per frame, DV is only about 400,000. That's not just five times as many pixels for the Mac to track; everything in video is exponential.
    Explore the training tutorials available by Mark Spencer. You will get an idea of how his super powerful machine reacts with the software.
    Adding a light roughly doubles the processing time over flat scenes. Two lights increases processing again. Reflections require processing the lights and then calculating the reflections so add another quarter of the time required for flat scenes. Add camera movement, motion blur, and depth of field and you need exponentially more processing time for every frame. The preload of renders into RAM is one of the cooler features of Motion, as comapred to After Effects, but that takes tons of time, to.
    Try working in ye olde DV resolution for a few days. Get to know the software's limitations and what gets imposed by your Macintosh. Step up to 720p/30 and see how things slow down.

  • Can not use all the tools in my drawing markups any ideas on getting them to work?

    Can not use all the tools in my drawing markups any ideas on getting them to work?

    Hi tonys60181,
    Could you please let me know what version of Adobe Acrobat are you using.
    What all drawing tools are you unable to access?
    Is this issue specific to one PDF file or all?
    What exactly happens when you try to use any drawing markup?
    Please let me know.
    Regards,
    Anubha

  • I am trying to restore ipad from previous back up. it requests a password it is none of the passwords I have used in the last decade any ideas to get around this?

    I am trying to restore my ipad from previous back up. itunes requests a password, it is none of the passwords I have used in the last decade any ideas to get around this?

    The password would be either your iTunes ID password or your admin password for the Computer.
    MJ

  • Is there any way to get an ipod  running/ ipod  nike to work with a first generation ipod touch or ipod classic?

    Is there any way to get an ipod  running/ ipod  nike to work with a first generation ipod touch or ipod classic?

    We are talking about that Nike device.  We have a iPod Classic (software version 2.0.1) and an iPod touch (iOS 4.2.1, an earlier model....maybe 3 years ago).  When we plug in into the classic it says "the accessory is not supported) and when we plug it into the touch it says "no receiver required," but neither will load the nike+ running app.  I believe it said that our iPod was incompatible with this app.  Is there something we need to do to make it compatible?  Get an updated operating system or a different app? That has also happened with a few other apps. Thanks!

  • Any ideas for getting AirPlay to work???

    I have been researching the subject of enabling AirPlay on my iPod Touch (Gen4) and iPad2 for quite some time. I have read a number of blogs and articles and reviewed many of the postings on this forum. Unfortunately, none of the information has allowed me to enable AirPlay on my iPad2 with my Dell running Windows7.
    Here is what I have done thus far:
    1) I have enabled Home Sharing on my iPad (under iPod settings) and on iTunes on my PC. In using the Remote app on the iPad, I can see my library.
    2) I have made sure both devices are on the same Wi-Fi network.
    3) I have performed a plethora of restarts on the iPad.
    4) I have disabled the firewall on my PC.
    5) I have performed so many syncs I have lost count.
    6) I have gone through the troubleshooting steps provided on the Apple website.
    7) I have validated that iTunes is current, using 10.2.1.1.
    Everything that I have tried has yielded the same result, I am unable to see the AirPlay icon in the iPod app, videos, etc. Two things to mention, although I was under the impression these two things did not matter: 1) I do not have any music on the iPad (I didn't think it mattered) and 2) I do not have any videos on the iPad.
    Any ideas what I can try next?

    AirPlay lets you stream content from your iOS device to an Apple TV or an AirPort Express.
    From here:
    http://www.apple.com/ios/
    Get even more play out of AirPlay — the wireless technology that lets you stream content from your iPhone, iPad, or iPod touch to your HDTV via Apple TV.1 In addition to music, movies, and photos, AirPlay now streams video from your Photos app. So you can shoot a home video and instantly share it with everyone in the room. Even AirPlay-enabled apps and websites get the big-screen treatment with iOS 4.3. And if your photos are the feature presentation, you can play a slideshow with all the stunning themes available on Apple TV.

  • Any ideas on getting airplay to work with u-verse router?

    Ok, so my airplay is just horrible on my apple tv/iphone/macbook pro combo.
    Airplay is a total joke, it will play to the apple tv for maybe 20 seconds and then it just gets all choked. The "remote" app does the same thing. I upgraded my internet connection thinking that at&t would come out and give me a new router too, but i guess they just bump the download speeds to the router. I'm pretty sure that the router is the problem. It's a "2wire" 802.11g supplied by att.
    Any ideas would be appreciated. I'm going to call the support number for the apple tv, but it's been my experience that support people are just looking at the same simple trouble shooting info that is posted on the internet. So i'm not expecting much.

    well i did get airplay to work better by trying all the channels in the router and settling on channel 4 as being the most reliable.
    Now if I could only get netflix to stream without stopping every minute or so. We have a 12mbps internet connection. Which is about 4 times faster than the standard At-t connection speed
    I still think that this stuff requires a much better router than most people have. My router is a G router, and it seems maxxed out. I wish i knew that things would work well with a faster N router.

  • How to get server time in Oracle Internet Directory (OID)?

    Hi,
    How to get current time on OID server? As in case AD, RootDSE contains currentTime attribute, Is there any attribute in OID through which I can get current time on server.
    Thanks in advance for any help.
    Regards,
    Umesh

    Hi,
    wrong forum, use Identity Manager
    Frank

  • SAPGUI Recording : Getting Server Time

    Dear All,
         I need to get the server time where i am doing the recording.
    Ex : Sys1 is my eCATT Server.
    and  sys2 is my application server on which i am doing SAPGUI recording.
    i used x = &time and i am getting the time of sys1(eCATT Server)
    How to get time on sys2( Application server) ?
    Thanks in Adavance
    sreedhar d

    You can execute this RFC MSS_GET_SY_DATE_TIME to get the time and date on any application server.

  • I have tried to reinstall Photoshop Elements 9. The disc I own and the download installation program from Adobe both do the same thing. "Shared Technologies" failed to install and undoes installation.  Any ideas to get it to install?

    I need help getting Photoshop Elements 9 to install inspite of my "Share Technologies" failing to install.  Any ideas?

    Hi,
    See if this document helps - there are a few things that can clash with the installation.
    Install rollback and Shared Technologies | Windows
    Good luck
    Brian

  • Any ideas about correct the time in mac mail?

    The time is out by 4 hours in Mac Mail, but ok in other apps. I've just returned from another time zone (coincidentally 4 hours ahead!) but the time zone on the computer is correct for my current location. Any ideas?

    Hi Fiona!
    This Apple Knowledge Base article might help you understand the problem and find a solution:
    http://support.apple.com/kb/TS3579
    Let me know if it works.

  • ANY IDEA TO GET THE NAME OF THE FILE

    Hi guys , i´m using method cl guifrontend_services=>file_open_dialog  to search any file in my hard disc, with that ,I get the whole path,  however I only want the name of the file , eg.
    G:MusicGuns N' RosesG N' R Liespatience.mp3  i only want "patience "  any ideas. thank you .

    Try
    DATA: BEGIN OF itab1 OCCURS 0,
                 word(40),
               END   OF itab1,
               l_lines TYPE i.
    SPLIT file_name AT '\' INTO TABLE itab1.
    DESCRIBE itab1 LINES l_lines.
    READ TABLE itab1 INDEX l_lines.
    This will put each bit of text between the '/' into a separate line in table itab1.  If you read the last line, you'll get the last bit of the text which is your file name.

  • Any idea to get lightscribe capability under Arch ?

    I tried qemu to install win2k as guest OS, but that does not fit as Qemu virtualizes the drive as "Qemu CDROM" --> lightscribe software does not see a lightscribe capable drive :-(
    Therefore I still cannot use the lightscribe drive from within qemu.
    Any idea ?

    How men
    Now checking rpm2cpio, as "4L" comes as http://www.lacie.com/download/drivers/4 … 6.i586.rpm + http://www.lacie.com/download/drivers/l … -intel.rpm
    Thank you kmaster

Maybe you are looking for

  • Is it possible to have SSO between R/3 4.6 and Enterprise Portal 7?

    I am trying to configure an R/3 transaction between R/3 4.6 and SAP EP 7.0. I have fulfilled all of the requirements for configuring SSO between Portal and R/3. I guess it is the ITS server that is running on a Windows machine. When I run the iView i

  • How do I buy music not carried by iTunes Store (for my iPhone)

    There are songs or albums I may want to buy that are not carried by the iTunes store.  Is there an easy way I can use my iPhone to buy a song that is not in the iTunes Store and add it to the Music library on the iPhone and later sync to iTunes on th

  • Boot Camp Assistant Won't Launch

    I have not been able to get Boot Camp Assistant to launch. I double click on it but nothing happens. No error messages. Nothing. Background: I just replaced the hard drive in my MacBook Pro Core Duo 2.4 GHz. Using the Restore Option of Disk Utility I

  • What can I expect with 4.1

    I want to build a fast computer - i7 with 12 gig of ram... fast drives...etc. I will shoot HMC150 AVCHD and transcode to NeoScene. I'm wondering about rendering... Will I be able to add a few filters such as Color Balance, Picture in Picture, Title w

  • Nokia E72 button light problem

    guys really i began to hate that phone really it's the million time that i notice a bug or an issue i can't enjoy my phone i bought it on 1/1/2011 and i feel like i wanna get ride of it :s well as for today's issue :   [ hope it's the last one] i was