Solution for Accumulative time counter

Hi,
I am developing an online training web application in MVC framework,
i have to maintain a accumulated time counter for every user . for example 400 hrs a course means (00.00.00 to 200.35.45) (hr/minute/seconds) format .I will have to count for the entire session for every time user login.
first day: 00.00.00 to 02.35.45
second day :02.35.45 to 03.35.45
need solution.
Regards
gopi.

Convert to (milli)seconds and calculate it. There are no API's of use for you AFAIK.

Similar Messages

  • Accumulative time counter

    Hi,
    I am developing an online training web application in MVC framework,
    i have to maintain a accumulated time counter for every user . for example 400 hrs a course means (00.00.00 to 200.35.45) (hr/minute/seconds) format .I will have to count for the entire session for every time user login.
    first day: 00.00.00 to 02.35.45
    second day :02.35.45 to 03.35.45
    need solution.
    Regards
    gopi.

    Convert to (milli)seconds and calculate it. There are no API's of use for you AFAIK.

  • Info Share: Hardware solutions for Apples Time Machine software

    Inspired by user Pondini, I wrote up a blog post on Hardware solutions for Apples Time Machine software.
    I hope it proves useful to some
    Feel free to cite it or reuse the content or make suggestions to make it better.
    Cheers
    Message was edited by: kyle0r

    Very good! Kudos!
    Comments:
    in *Open Questions*, yes, you can use a TC as a shared drive in addition to TM backups. Because of the way TM will use up all the space it can before beginning to delete old backups, and since you can't partition a TC (bizarre, but true), a poster here suggested putting a Disk Image of sufficient size on it to be used for the sharing. Sounds workable to me.
    One caution: You may need to find some way to back-up that data. The Airport utility has a feature allowing you to "archive" the TC's disk to a USB disk plugged-in to the TC, but it's the whole disk -- you can't pick and choose.
    And yes, you can connect your Mac to a TC via Ethernet and do backups. We often recommend that for the initial backup (it will run 40% or more faster, depending on how good/bad the wireless connection is). Then incrementals can be done wirelessly to the same sparse bundle.
    That's also a good idea when doing a large or full-system restore.
    *Other options:*
    If you have multiple Macs and your TC is too small for all of them, you can attach a USB drive to the TC and back some of them up to it. (Why Apple doesn't "officially" support that on an AEBS, which many of us are doing anyway, I cannot figure out).
    A shared drive on a Leopard or Snow Leopard Mac on the same local network.
    And, of course, a Mac Leopard or Snow Leopard Server on the same local network.
    Good job!

  • HT4367 Anybody has a solution for network time and day set up for apple tv 3?I also have difficulty about my apple id and password with the apple tv. My password/apple id  works fine with my other gadgets. Thanks. Ugur Erkmen

    My problem started after the itunes update.i  reset the apple tv.Now I cannot sign to itunes and i cannot reset the network time and day.

    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router.
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If this is a new Apple TV, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • Timer+counter

    HI
    I am trying to create a virtual timer+ counter, 
    I want the wave be counted in amount of time, for example 10 seconds.
    Now I am trying two while loops.
    one for timer, one for counter.
    but it does not work.
    Can anyone help me?
    Thanks!
    the attachment is the simple vi. 
    Solved!
    Go to Solution.
    Attachments:
    timer+count.vi ‏288 KB

    Thanks for reply
    I found what I want.
    the attachment is the vi.
    Now I want to add one more feature to the simple timer+counter.
    I want to repeat the counter as many times as I want and save the info to a table. For example, run the program 5 seconds 10 times. The program stops with 10 counts data shown in the table.
    Could you please provide any suggestion how to make it?
    Thanks 
    cynitha
    Attachments:
    Counter_Timer.vi ‏251 KB

  • What's the best storage solution for a large iLife? RAID? NAS?

    I'm looking for an affordable RAID storage solution for my Time Machine, iTunes Library, iMovie videos, and iPhoto Library. To this point I've been doing a hodgepodge of external hard drives without the saftey of redundancy and I've finaly been bitten with HD failures. So I'm trying to determine what would be the best recommendation for my scenario. Small Home Office for my wife's business (just her), and me with all our media. I currentlty have a mid-2010 Mac Mini (no Thunderbolt), she has an aging 2007 iMac and 2006 MacBook Pro (funny that they're all about the same benchmark speed). We have an AppleTV (original), iPad2 and two iPhone 4S's.
    1st Question: Is it better to get a RAID and connect it to my Airport Extreme Base Station USB port as a shared disk? OR to connect it directly to my Mac Mini and share through Home Sharing? OR Should I go with a NAS RAID?
    2nd Question: Simple is Better. Should I go with a Mac Mini Server and connect drives to it? (convert my Mac Mini into a server) or Should I just get one of those nice all-in-one 4-bay RAID drive solutions that I can expand with?
    Requirements:
    1. Expandable and Upgradeable. I don't want something limited to 2TB drives, but as drives get bigger and cheaper I want to easily throw one in w/o concerns.
    2. Simple integration with Time Machine and my iLife: iTunes, iMovie, iPhoto. If iTune's Home Sharing feature is currently the best way of using my media across multiple devices then why mess with it? I see "DLNA certified" storage on some devices and wonder if that would just add another layer of complexity I don't need. One more piece to make compatible.
    3. Inexpensive. I totally believe in the "You Get What You Pay For" concept. But I also realize sometimes I'm buying marketing, not product. I imagine that to start, I'm going to want a diskless system (because of $$$) to throw all my drives into, and then upgrade bigger drives as my data and funds grow.
    4. Security. I don't know if its practical, but I like the idea of being able to pop two drives out and put them in my safe and then pop them back in once a week for the backup/mirroring. I like this idea because I'm concerned that onsite backup is not always the safest. Unfortunately those cloud based services aren't designed for Terabytes of raw family video, or an entire media library that isn't wholey from the iTunes Store. I can't be the only one facing this challenge. Surely there's an affordable way to keep a safe backup for the average Joe. But what is it?
    5. Not WD. I've had bad experiences with Western Digital drives, and I loathe their consumer packaged backup software that comes preloaded on their external drives. They are what I meant when I say you get what you pay for. Prettily packed garbage.
    6. Relatively Fast. I have put all my media on an external drive before (back when it fit on one drive) and there's noticeable spool-up hang time. Thunderbolt's nice and all, but so new that its not easily available across devices, nor is it cheap. eSata is not really an option. I love Firewire but I'm getting the feeling that Apple has made it the red-headed step-child of connections. USB 3.0 looks decent, but like eSata, Apple doesn't recognize it exists. Where does that leave us? Considering this dilemma I really liked Seagate's GoFlex external drives because it meant I could always buy a new base and still be compatible. But that only works with single drives. And as impressive as Seagate is, we can't expect them to consistently double drive sizes every two years like they have been -cool as that may be.
    So help me out without getting too technical. What's the best setup? Is it Drobo? Thecus? ReadyNAS? Seagate's BlackArmor? Or something else entirely?
    All comments are appreciated. Thanks in advance.

    I am currently using WD 2TB Thunderbolt hard drive for my iTunes, which i love and is works great.  i am connected directly to my Mac Book Pro. I am running low on Memory and thinking of buying a bigger Hard drive.  My question is should I buy 6TB thunderbolt HD or 6TB NAS drive to work solely for iTunes.  I have home sharing enabled for my Apple TV 
    I also have my time capsule connected just as back up only.   

  • Solution for: no audio in time line - conforming issues - unspecified error occurred

    these are all the same issue and i have the solution for it.
    Adobe has once again let down the non professional user but ignoring this bug. They have also deleted alot of my other posts on the adobe forums.. perhaps so you cannot receive help from me?? who freakin knows..
    b Problem:
    you import your footage and there is no audio in the time line. you see the audio clip there but no information in it. some people say its because of MPEG format but MPEG files works fine in Windows Movie Maker, Ulead, Pinnacle, Sony Vegas.. etc...
    let it be known that its an Adobe Premiere issue.
    b Solution:
    b step 1:
    close adobe premiere
    b step 2:
    open My Computer and go to tools at the top. From the drop down menu go to folder options. In folder options click the view tab. In the advanced settings section where it says 'Hidden files and folders' make sure 'show hidden files and folders' is selected.
    b step 3:
    open My computer and go to c:\ drive > Documents and settings. Now click into your user name (NOT 'All users') in my case its 'proGamer'. Now click into 'Application Data' > 'Adobe' > 'common' > 'Media Cache Files'.
    b step 4:
    in this folder find the files you were just trying to import by searching the name. in my case its file: 20081217030338. you will now see 3 different file types with the same file name you were importing: CFA, PEK, MPGINDEX. delete them all!
    b step 5:
    go back and open adobe premiere, open up your project again and it will automatically recreate those files you just deleted. hopefully correctly.
    b NOTE:
    If this hasn't worked then open your adobe premiere project, clear all trace of the files with no audio and start again from step 1. then after step 5 just import the files back into your project.
    This has proved to work with every file i've imported that had the audio not conformed.
    b your second option:
    simply play your clip in WMV or VLC or what ever player you use and record the audio in real time in stereo by using some music editing like cubase or logic audio. you can also use something more friendly like 'recordpad' found here: http://www.nch.com.au/recordpad/screenshots.html now you can buy it from these guys or get it how ever else you like
    lemme know how u go

    dmd,
    I've read plenty of places that they know about the bug and are going to fix it. Will from Adobe said so in a few older posts. It's also listed as an issue in the 4.0.1 readme.
    I agree that this is the most screwed up Adobe release ever but I doubt they're deleting your posts to hide it. Never know though.....
    "Adobe has once again let down the non professional user but ignoring this bug" I actually wish Adobe would forget the consumers and make Premiere Pro more friendly to professionals. Dozens of multimillion dollar movies have been edited with Avid and Final Cut over the past few years. Adobe doesn't put forth any effort make Premiere a pro application. Because they pander to the consumers and prosumers they end up messing up the product for everybody.
    Premiere Elements is for consumers, Premiere Pro should be for the 'Pros'

  • Is there a solution for the limited time of videorecording?

    Is there a solution for the limited time of videorecording?
    By recording on my iPad2 there is a maximum time of 49 minutes and 51 seconds.

    Hello Studio X
    I have an iPad2 with 64 GB. After I start the videorecording it stops automaticly by 49 minutes en 51 seconds.
    I looked in my settings and there was still enough space left. Although I do not think that the 64Gb is not the problem.
    I bought myself an alternative recording app now. I hope it works properly but if the quality is OK. I do not know. I combine the recordings with my video (digitaltape) camera of Sony.
    Thanks for your reply
    sozave007

  • Best solution for EXEC SQLu2026. INSERT? Time problem

    Hi:
    I have a problem with native sql in abap. I have next code and itu2019s working properly (see below) , but the problem occurs when abap internal table is too big, because exec sql u2026 endexec is executed one time for each internal table line, so it needs too much time.
    Do you know any solution? Is it possible to insert the internal table with only one exec sql?
    Thanku2019s in advance for your time.
        LOOP AT i_table.
          EXEC SQL.
            insert into oracle_table@db
            (value1,
             Value2
            values
            (:i_table-val1,
             :i_table-val2
          ENDEXEC.
        ENDLOOP.

    Definately this approach will take a lot of time.
    i would suggest that you create a table, fill that table with the internal table you are using for the insertion and use below mentioned code this will improve your processing time.
    Exec SQL.
    INSERT INTO
    EXEC SQL.
    insert into oracle_table@db
    (value1,
    Value2
    SELECT  COLUMN1, COLUMN2 FROM DUAL
    FROM ZTABLE
    ENDEXEC.

  • A time counter for the whole project

    Can you tell me is there any way to get the overall project time  as a time counter in the playback controls? Or viewed somewhere on Captivate?
    I need to know at which time a particular slide is appearing in a video. I can only find time duration  per slide or one overall time for the project.

    If you dont like the TOC, here you can find some other ideas:
    http://blog.lilybiri.com/display-time-information

  • Old problem with precision time counting and /usepmtimer solution.

    Hello, all!
    There was a problem in Windows XP and 2003 Server with using QueryPerformanceCouner() function. Sometimes it can cause problem with precision time measurements on CPUs which support powersaving modes by changing clock frequency. The simplest solution for that was /usepmtimer key in boot.ini file which forces the system to use another timer.
    I just want to know does this problem appear in Windoes 7? And how to solve it since there is no boot.ini file in Windows 7?
    Thanks a lot!
    P.S. This is a page with detailed description of the problem:
    http://support.microsoft.com/default.aspx/kb/895980

    Hi ,
    There is official documentation released on userpmtimer for windows 7 operating system.
    Also the KB article only refere to the OS which have performance problem.
    After reading the below article , i feel that this problem is taken care in windows 7 / windows 2008 ( though there is no formal written documentation )
    http://blogs.technet.com/perfguru/archive/2008/02/18/explanation-for-the-usepmtimer-switch-in-the-boot-ini.aspx
    you can post in windows 7 dedicated forum, so that MVP / Microsoft Engineers and community members would suggest you with latest data if any.
    http://social.technet.microsoft.com/Forums/en-US/category/w7itpro

  • Back and sharing solution for Macbook Pro - Synology or Time Capsule?

    Hi
    Hi,
    My plan is to have a complete new efficient and flexible set up. I have decided to buy the new Macbook 13inch Pro with 16MB Ram and 3.1 Ghz i7 processor with 256GB glash drive.
    I want an external solution for my storage and sharing needs.
    Minimum requirements -
    - Time Machine backup support for computer
    - External storage for 95% of my data (kind of like dropbox) including music, movies, photos, business and personal data, but that can be accessed easily and quickly and functions properly on my computer. (e.g when connecting to itunes and other apps)
    - Remote access to this data when required
    Additional Preferences
    - Easy to use (I am a newbie on Mac laptops!)
    - Back up additional devices or at least upload photos from ipad and iphone
    - Connect movies to Roku
    - Easy access to data wirelessly from outside the country
    - Support external plugin hard drive
    - Quiet and low power consumption
    I like the flexibility of the Synology but I know that apple usually works best with apple devices, so due to my inexperience in the apple environment I need a little help.
    Is the Synology best for my needs (if so which model) or the Time Capsule and just plug in my usb hard drive? (I don't want to spend a fortune but $100 more for the best set up is acceptable)
    Thanks so much for your help
    Mike

    A third-party NAS is unsuitable for use with Time Machine, especially if it's your only backup. I know this isn't what you want to hear. I know that Time Machine accepts the NAS as a backup destination. I know that the manufacturer says the device will work with Time Machine, and I also know that it usually seems to work. Except when you try to restore, and find that you can't.
    Apple has published a specification for network devices that work with Time Machine. None of the third-party NAS vendors, as far as I know, meets that specification. They all use the incomplete, obsolete Netatalk implementation of Apple Filing Protocol.
    If you want network backup, use as the destination either an Apple Time Capsule or an external storage device connected to another Mac or to an 802.11ac AirPort base station. Only the 802.11ac base stations support Time Machine, not any older model.
    Otherwise, don't use Time Machine at all. There are other ways to back up, though none of them is anywhere near as efficient or as well integrated with OS X. I don't have a specific recommendation.
    If you're determined to use the NAS with Time Machine, your only recourse for any problems that result is to the manufacturer (which will blame Apple, or you, or anyone but itself.)

  • Im completely new to Mac. Im swapping my windows laptop for macbook pro and looking for network storage solution which the Time Capsule seems to do. Is it possible to use this as NAS for my desktop Windows PC - windows 7

    Im completely new to Mac. Im swapping my windows laptop for macbook pro and looking for network storage solution which the Time Capsule seems to do. Is it possible to use this as NAS for my desktop Windows PC - windows 7

    Broadly speaking I want some sort of network storage( wireless or through my existing wifi router) that I can access files for both my windows PC and Macbook and also to access files to my iPad/ iPhone. Some sort of backup and sychronisation so that I can access certain files remotely.
    Buy a real NAS.. synology or QNAP are the standard... although companies like Netgear and Western Digital and Seagate make them as well.
    There is no problem sharing between Mac and PC now.. you do not even need a NAS to do that.. you simply share the hard disk directly. Mac talk SMB.. everything talks SMB nowadays.. so it is easy.
    ipad and iphone are not designed to use NAS.. they are designed to backup only to the cloud or itunes.. but you can load an app like file browser if you want.
    http://www.stratospherix.com/products/filebrowser/
    Remote access to the Apple TC is somewhere between difficult, to impossible from a PC.. Apple use BTMM and iCloud but the service is not offered to PC.
    A real NAS will offer HTTPS or SFTP or several other methods.. that both Mac and PC can use.
    You simply plug it into the current wireless router.. it is a network device and assessable over the network. It is not necessary to buy another router.. in fact that is a waste.

  • For the second time this week the sound on my iPad 2 doesn't work. Who has the solution for this problemen?

    For the second time this week i don't get any sound from my iPad 2. Who has the solution for this problem?

    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
     Cheers, Tom

  • Online solution for Time Machine

    I was wondering if anyone had a good solution for automatically backing up Time Machine files online.  The drive I use for my TM backups failed.  Even though my main Mac drive is fine and I can start a new TM archive, I've basically lost the time stamped backups of previous states which comes in handy once in awhile.  So it is necessary to have a backup of the backup which I could do with Raid 1 which I will probably now do.  But ideally it would be nice to backup the TM archive online.  I looked into doing this with CrashPlan but they don't want customers to backup the TM archive because of the file size due to redundancy so it doesn't seem like it would be easy to set it up automatically.  You would have to remember to every once in a while to copy the TM archive to your main drive.  I was hoping that it might be possible to do this with the iCloud drive but it really isn't set up for that.  I know that online backups are slow but once the online backup is seeded I wouldn't think it would be too much of a problem afterwards since TM is incremental and I wouldn't think it would be any slower than the regular incremental online backups for the main drive.

    With Mavericks and later, multiple disks or multiple Time Capsule targets are supported for Time Machine, and the backups will alternate if both are present, or to whichever one is currently present (such as one at home & one at an office, for instance) if both targets are not present at the same time.  (There are wrinkles.)
    Time Machine supports the ability to attach a disk and create a backup archive.
    With directly-attached storage such as USB or Thunderbolt, RAID arrays will work just fine as Time Machine targets.
    With an OS X Server system configured and running — a second Mac Mini, for instance — Time Machine can write to disks on that system, whether RAID or not.
    For off-site backups, making a disk image copy of a Time Machine disk will work probably work, but'll be a pain to restore, and pulling data off of a Time Machine backup is going to be pretty slow due to its complex structure.  You'll usually end up transferring disks around as part of this, unless you have a very big network connection and enough storage (somewhere) to keep a couple of copies around.
    Alternatively, use a different backup tool.
    In general, RAID is not a backup.  User errors, nefarious deletions and ordinary data corruptions can clobber a Time Machine backup, even if the underlying storage hardware is working fine.
    Podini has a whole pile of Time Machine information online.  Some of which is linked above.

Maybe you are looking for

  • Msi g4 4200 64meg overclocking probs..

        using xp pro as my OS.  When I go into the msi tabs under display properties, and hit the tab to auto adjust the memory clock,  the circle test runs into some kinda failure and therefore i cant adjust my memory clock.  What gives and does anyone

  • Deleting row from table in ABAP webdynpro

    Hi all, Can anyone help me regarding deletion of a row from a table in ABAP webdynpro. I have written a code like this :     DATA:       NODE_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_NODE,       ELEM_STUDINFOSYS                    TYP

  • Mac Book Pro only lets me type one letter at a time and delete one letter at a time without the quick speed..

    When I hole o e ketter down it will frezze at that one letter.  I can't hold a character down and have it repeat. The same with the delete button.  I have to manually delete each letter, one at a time.  I can't have it in "speed mode" where you hole

  • Remote app and icloud

    Why does remote app on Applte TV 2 not work when using icloud only?

  • UI Problem: Tab render Issues on page navigation

    Hi All, I am with a ADF application using jDev11g where i have some JSF pages and have navigations between those pages. In the first page i have two tabs. In the second tab of that page I have put the ViewObject (ViewObject is based not base on Query