Seconds to Shift and Hour and Mins

Hi,
I have 88000 Seconds.
Every 8 Hours we have Shift.
How to identify how many shifts , Hours and Mins are available in 88000 Seconds.
I want to display like using Sqlserver.
Example
4 Shifts 3 Hours 33 Mins
raghu

DECLARE @TimeinSecond INT
SET @TimeinSecond =88000
SELECT  RIGHT('' + CAST((@TimeinSecond / 3600)/8 AS VARCHAR),2) + ' Shifts , ' +
RIGHT('' + CAST((@TimeinSecond / 3600)%8 AS VARCHAR),2) + ' Hours , ' +
RIGHT('0' + CAST((@TimeinSecond / 60) % 60 AS VARCHAR),2)  + ' Mins ' 
raghu

Similar Messages

  • My MacBook Air won't stay off. I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    There's a slight chance this might help:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    Otherwise it needs to be repaired.

  • Tell me how to download an update of Foxfire to a conclusion. How long should it take. I have run it for hours and hours and it never quits or is successful.

    Tell me how long a download of Foxfire takes and why it never is successful on my E-machine that is 2 years old.

    If there are problems with updating then best is to download the full version and uninstall the currently installed version and if there are still problems, delete the Firefox program folder to remove any leftover files.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    You may need to remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • VHS plus CANOPUS ADVC300 to DVD without editing and hours of rendering....

    I really need to capture video from my Canopus ADVC300 and save it in MPEG4 format so that I can create a DVD without wasting hours rendering the video. Currently I get a .MOV (i.e. quicktime) file and then iDVD spends hours rendering. My home DVD Recorder captures and writes DVD on the fly - isn't something like this available for the Mac? I am happy to save to HD then write the DVD but it's infeasible for me to capture (say) two hours of video which I don't even want to edit, only to have to wait hours and hours and hours for iDVD to render it before creating the DVD.
    Hope I haven't been too unclear.

    Hi!
    i have an ADVC 300 which i bought from amazon, i need to convert my old analog video camera tapes into digital format in the PC , usuing the following :
    Hardware Overview:
    Model Name: MacBook Pro
    Model Identifier: MacBookPro5,1
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.66 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 6 MB
    Memory: 4 GB
    Bus Speed: 1.07 GHz
    Boot ROM Version: MBP51.007E.B00
    SMC Version (system): 1.41f2
    Serial Number (system): W89161YC71C
    Hardware UUID: 7079659B-32F7-56F4-B0BD-7894E37684A6
    Sudden Motion Sensor:
    State: Enabled
    when i click in ADVC Picture controller 300 it opens and when i click on PREVIEW i cant see anything , i tried opening final cut pro to capture the videos with no luck, i use a firewire from Belkin which is a 9 pin to 6 Pin (800/400)
    I need help
    thank you

  • I am going to sell my second generation ipod touch, so i resetted it to factory defaults. It said it would take up to an hour, and i patiently waited. But when the black and white loading bar completed, the ipod went to the black screen with an apple logo

    I am going to sell my second generation ipod touch, so i resetted it to factory defaults. It said it would take up to an hour, and i patiently waited. But when the black and white loading bar completed, the ipod went to the black screen with an apple logo on it. Sounds about right, right? But now, there is a processing circle on top of the logo, but the circle spins once, and stops at about halfway to the bottom. It just stays there, and about every half to one hour it becomes a white screen and starts all over again. (not the loading bar part, just the circle). I've tried holding the power and the home button, and it works, but it just goes back to the circle screen with the apple logo. HELP PLEASE?

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • How to add hours and min in numbers

    I need to add like 400 times that are in the format of "1:25" for 1 hour and 25 min but i dont now why it wont add it if anyone know please help

    Hi 52,
    Have a look at the cell format.
    Perhaps the cells are Date & Time format (which can display as 1:25)
    Duration seems to be what you want:
    =SUM(B2:B6)

  • I am using an apple TV to show a slide show which is sent via WiFi from a mini computer.  The slide show repeats for a few hours and then stops and shows "no signal".  What's going on- and how do I get the show to cycle indefinitely?

    I am using an apple TV to show a slide show which is sent via WiFi from a mini computer.  The slide show repeats for a few hours and then stops and shows "no signal".  What's going on… and how do I get the show to cycle indefinitely?  (I have set the server to NEVER sleep)

    Welcome to the Apple Community.
    Have you also set the Apple TV not to sleep.

  • How to configure JSpinner to accept number of hours (with mins and secs)

    I'm having a problem trying to figure out a simple way to enable a JSpinner to do allow the input in this format:
    n hours : n minutes : n seconds
    ex: 100 : 0 : 0, 1:59:59, 25:30:00
    Where n hours could be from 0-n (not restricted by 24 hours) and minutes and seconds are, of course, < 60. That is, I can enter number of hours, not a date, or a specific time in a day.
    I'm thinking the only way to do this is with a custom spinner model and custom editor? Or is there a simple way I can make the date model in spinner to allow me to do this?
    Thanks

    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Test2 extends JFrame {
      public Test2() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        content.setLayout(new FlowLayout());
        content.add(new MySpinner());
        setSize(300, 300);
        setVisible(true);
      public static void main(String args[]) { new Test2(); }
    class MySpinner extends JSpinner {
      public MySpinner() {
        setModel(new SpinnerDateModel(
          new GregorianCalendar(2004,0,1,0,0,0).getTime(),
          null, null, Calendar.DAY_OF_YEAR));
        setEditor(new DateEditor(this,"HH:mm:ss"));
    }???

  • My clock works, but in apps, the minute is stuck on :08 despite the hour and seconds being correct

    my clock works, but in apps, the minute is stuck on :08 despite the hour and seconds being correct. Like in Skype and calendar, when i put in the time, in the small window it will say "setting for 10:08" even though it's 10:30, and it'll show correctly on the visual.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Time difference in both hours and mins

    I have used below code in column formula(OBIEE 10g)
    TimestampDiff(SQL_TSI_Hour, TIMESTAMP'1998-07-31 23:35:00', TIMESTAMP'2000-04-01 14:24:00')
    The result I am getting in hours. But I would like the output to be both hour and mins .
    Is there any possibility to get the output this way. I have used the option decimal points
    present in column properties but its not working.
    The output is 3.00(Here 3 being hours)
    The output requrired is 3.27(Here 3 bening hour and 27 being mins)
    With above code I can only get hours.If I do on Minutes it is only showing minutes

    Hi,
    Use the following formula:
    TRIM(BOTH ' ' FROM CAST(FLOOR(TimestampDiff(SQL_TSI_Minute, TIMESTAMP'2000-04-01 13:00:00', TIMESTAMP'2000-04-01 16:37:00')/60.00) AS CHAR)) || '.' || CAST(MOD(TimestampDiff(SQL_TSI_Minute, TIMESTAMP'2000-04-01 13:00:00', TIMESTAMP'2000-04-01 16:37:00'),60.00) AS CHAR)
    This will give you 3.37 as a CHAR. You can cast it back to an INT if needed.
    The trim has been used as CAST from INT to CHAR gives trailing spaces in 10g.
    Hope this helps.
    Gaurav

  • I forgot My iPhone 5s passcode and can't remember what can I do because it is lock for 1 min. Then 5 min. Then one hour and I don't know what to do ????

    I forgot My iPhone 5s passcode and can't remember what can I do because it is lock for 1 min. Then 5 min. Then one hour and I don't know what to do ????

    If you forgot the passcode, you'll have to restore it to remove the passcode, as explained here: http://support.apple.com/kb/HT1212.  If it is running iOS 7 with Find My iPhone enabled, you'll have to force it into recovery mode in order to restore it, as explained here: http://support.apple.com/kb/ht1808 (or erase it using Find My iPhone on icloud.com).

  • I have a 1 hour 5 min memo I want to transfer to iTunes on new computer. made x för music and memo: no transfe to computer

    I have a 1 hour 5 min memo I want to transfer to iTunes on new computer. made x för music and memo: no transfer to computer resulted.

    Apparently I wasn't clear.  The music on my ipod is but a subset of all the music on my external hard drives.  I want to import only the songs and playlists from my existing ipod into the itunes library on my new computer, which currently has no music or playlists.  How can I do this?

  • How can I change the timer in the clock app to minutes and seconds instead of hours and minutes?

    Is it wishful thinking or a false memory? It seems like there used to be a way to change the timer function of the clock from hours and minutes to minutes and seconds. I feel like there's a magic tap or secret swipe that I discovered but have forgotten.  Am I totally delusional?

    We may have to wait for an update.  Aside from changing the country, I'm not sucre this can be done.  There is no Health App in the System preferences and no  way to modify from within the app.  Weird.
    If you go to Language & Region under general settings and choose any other country, you will get Metric.  I have the opposite problem.  I live in a Metric country and want my health app to be in lbs and inches which is what I am used to.

  • I have apple tv and bought some films today, my tv is saying it will take 6 hours 30 mins to play, why is this?

    i have apple tv and i bought some films today, the tv is telling me the films will be ready to watch in 6 hours 30 mins... why is this?

    Welcome to the Apple Community Rachel.
    The first thing to check would be your internet download speed, you can do this at www.speedtest.net.
    1080p HD movies require a recommended speed of 8 Mbps, 720p HD movies require a recommended speed of 6 Mbps, while SD movies require a recommended speed of 2.5 Mbps.

  • I put my iPod charging, but it wont charge. The Apple logo appears on the screen for five seconds and then it goes off again. Afterwards, it does it again and again and again. I can leave it 1 hour or day charging and it will be doing this the whole time.

    I put my iPod charging, but it wont charge. The Apple logo appears on the screen for five seconds and then it goes off again. Afterwards, it does it again and again and again. I can leave it 1 hour or day charging and it will be doing this the whole time. What should i do????????????????????????????????????????????????????????????????????????????? /

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    and
    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

Maybe you are looking for

  • Hiding a Complete Subscreen in a main Screen

    HI All,          I have a req in which there is 5 subscreens present in one main screen. My issue is i want to hide a complete Subscreen based on 1checkbox present in that mainscreen itself. After checking that checkbox user will be pressing ENTER. A

  • A135-S2326 CPU, SSD, and OS upgrade

    Just putting this out there... A friend of mine has one of these laptops but she never really used it because it was a slug. About a year ago I upgraded this laptop from Vista to 7pro. There are no missing drivers. They were all available either with

  • Adobe flash player when on yahoo messenger for the web

    I don't know if anyone else using the new version on the adobe flash player on yahoo messenger for the web. But it keeps on locking up and sometimes it cause internet explorer to lockup and crash. anyone out there having this as well. This sucks. Whe

  • Item count errors in Time Machine folder

    Whenever I run Disk Warrior after Time Machine subject drive is full of errors like "item count" and "custom icon" errors in the Backups.backupdb folder on subject drive. Why is this happening? jmf

  • I can't update OS5 on Ipad!

    I am trying to update IOS5 on my Ipad.. But every time I try to do so, it says "The Ipad software update server could not be contacted"... I am using Windows 7 and I have no idea how to fix this. I have tried using Apple Support, but that didn't work