Time in seconds from Jan 1st, 1970?

Hi,
I was wondering if there is any way to get the time in seconds from 1970 as opposed to the standard 1904?
Alex

You can determine that from LabVIEW itself.
You can get the time in seconds from Jan 1st, 1904 to Jan 1st, 1970 by using "Date/Time to Seconds", locate in the Time & Dialog functions menu. The result is an unsigned long number.
As you know, to get the time in seconds from 1904 until now, use "Get Date/Time in Seconds". The output is a double number, so you may want to convert that result into an unsigned long.
The time in seconds from 1970 until now is:
(1970 to now) = (1904 to now) - (1904 to 1970)
Best regards;
Enrique
www.vartortech.com

Similar Messages

  • My Iphone 3gs turns itself off and resets the date/time to Jan 1st 1970

    Hi all,
    My 3gs turns itself off (need to use the top button to turn on) and when it restarts; the time has been reset to Jan 1st 1970 at 00.00.
    This has happened a few times; what is wrong and how do I fix it.
    Cheers
    Simon

    Hi Simon,
    I recently got a new refurbished phone because my old one suffered some water damage. About a day after i got the new one it started doing the excat same thing yours is doing. It didn't matter if i wasrunning applications or not, the phone doesn't get hot or anythign, it just turned off.
    Sometimes when i turned it back on the date and time have not been reset but a little while later the phoen would turn off and the date would reset.
    I spoek to the Apple support team on the phone yesterday and they told me to take it back to the store i went to but first try the latest update.
    Did the latest update last night and it seemed to be working fine until this morning when it turned off and reset the date/tme on turning it back on.
    Ive since made an appointment with the Store i originally went to for tomorrow and also for the support team to call me today.
    I'll update here if they say anthing new or somethign that helps.

  • IPhone jumps to Jan 1st, 1970

    For no apparent reason my 2 year old iPhone 3GS has jumped to 01-01-1970. Any suggestions to fix this propblem ?

    Thanks, roaminggnome
    I did check basics from the manual. Restarting, including rebooting the iPhone (± 10 sec home&sleep/wakebutton) didn't work. I didn't like the idea of restoring and being set back to manufacture settings.
    So I performed an ordinary sync, which actually pulled the trick.
    Still a bit puzzled what triggered the date/time change to 1/1/1970.
    Cheers !

  • Time stamps in Seconds from Epocho

    Hi,
    I have a requirement, where I need to calculate the Time stamp for sy-datum.
    That is. I have to calculate the number of seconds from 01/01/1970.
    www.unixtimestamp.com
    gives more infor. But how do I do this in my report?

    Hi Jurgeon,
    The function module I used is 'L_MC_TIME_DIFFERENCE'. This gives time difference between two dates and time in minutes. I later converted this to seconds by multiplying by 60.
    Thanks for your suggestion.
    Thanks,
    Chaith.

  • UTC timestamps in milliseconds offset from January 1, 1970

    Hello,
    The problem is that I must generate miliseconds offset from jan-1-1970 for a java app from my PL/SQL application.
    how do I can, from a given datetime, get UTC timestamps in milliseconds offset from January 1, 1970?
    I'm in the Canada/Eastern time zone and I'm using the following function:
    CREATE OR REPLACE FUNCTION date_to_float (dt IN DATE)
    RETURN FLOAT
    IS
    BEGIN
    RETURN 24 * 3600 * 1000 * (NEW_TIME (dt, 'EDT', 'GMT') - TO_DATE ('1970-01-01', 'YYYY-MM-DD'));
    END;
    so when I use this function to generate events after the november 2nd, the hour isn't accurate on the application side because the static usage of new_time with EDT source timezone.
    How can I make this function reliable over time?
    Thanks

    It looks like you are looking for the unix style epoch time:
    This code will give it to you plus allow you to configure the resolution, by default it will return the number of seconds since 1-Jan-1970, but by varying either the scale or precision you can get more or less detail, and you can even change the date epoch date used in the calculation.
    create or replace
    function date_to_epoch(
          p_date timestamp with time zone default systimestamp,
          p_scale number default 1,
          p_precision number default 0,
          epoch timestamp with time zone
              default to_timestamp_tz('1970-01-01 utc',
                                      'yyyy-mm-dd tzr')
      ) return number is
        tmp interval day(9) to second;
        sec number;
      begin
        tmp := p_date-epoch;
        sec := extract(day from tmp)*24*60*60;
        sec := sec + extract(hour from tmp)*60*60;
        sec := sec + extract(minute from tmp)*60;
        sec := sec + extract(second from tmp);
        return trunc(sec*p_scale,p_precision);
      end;Edited by: Sentinel on Aug 28, 2008 3:14 PM

  • I upgraded from a 1st generation to the 4th generation Time capsule Model A1409.  Since then I am getting interference on my wireless transmitter that sends signals from my Pay TV box to another TV downstairs.  Is it the dual frequency and how do I stop i

    I upgraded from a 1st generation to a 4th generation time capsule (model A4109) and since then my pay TV wireless transmitter has pulsating interference.  This is obviously due to the new dual band  frequency of the TC.  Is there any way I can set it to one band and what will that do?

    Go in and manually set the wireless channel for 2.4ghz or 5ghz (whichever your av sender is).. try different channels.

  • I recently upgraded my OS to Lion 10.7.4.  I also just upgraded from a 1st Generation Time Capsule to a 4th Generation Time Capsule.  I have an Airport Express (Version A1264) that I formerly used to extend my wireless network.  AE no longer works.

    I recently upgraded my OS to Lion 10.7.4.  I also just upgraded from a 1st Generation Time Capsule to a 4th Generation Time Capsule.  I have an Airport Express (Version A1264) that I formerly used to extend my wireless network.  Airport Express no longer connects to my network.  I have downloaded Airport Utility 5.6 to try and configure, but with no luck.

    TC first gen was not simultaneous dual band. So.. it's probably best to factory reset your extreme and then tell it to extend again.

  • Graph plot in labview to get time in seconds or minutes in X axis starting from 0.

    How can we obtain time starting from 0 seconds or 0 minutes on X axis in a chart and XY graph in labview.When I plot it is showing the system time on   X axis.I would prefer the time to start from 0 ( seconds) , rather than system time.Please reply.

    I have NI cDAQ 9174 chasis and NI 9211 and NI 9207 for thermocouple (NI 9211) and current (NI 9207).Can I acquire all three data inputs within a single DAQ Assistant express vi.Because I tried to access all 3 in one DAQ Assisstant , but it was not accepting it.So I had to place one DAQ Assisstant for thermocouple readings and another for current.For reference I have attached my labview diagram.
    Attachments:
    rktr3.vi ‏218 KB

  • HP OJP 8600 - 1970's Style Poll/Select UDP hundreds of times a second

    My new HP OJP 8600 is connected by ethernet to my router, wireless is turned off.  
    My new Apple MacBook Pro, with OS X9.5 has downloaded the latest HP OJP 8600 software.  So why does the OJP 8600 use UDP to communicate 1970's style poll/select messages several hundred times a second to my Mac?
    Example message follows:
    ,æÏ·¯§]63‡fEXÁç@ˇ¿®v¿®B°Œ4D÷0Ç8public¢Ç)7 `0Ç0Ç + ÇMFG:HP;MDLfficejet Pro 8600;CMDCL3GUI,PCL3,PJL,JPEG,PCLM,URF,DW-PCL,802.11,802.3,DESKJET,DYN;CLSRINTER;DES:CM749A;CID:HPIJVIPAV2;LEDMDIS:USB#FF#CC#00,USB#07#01#02;SN:CN39AEWJHW05KC;S:038080C484201021005a00800004518005a441800504618005041180450;Z:0102,0500000900000100000100000100000d,0600,0700000000000000000000,0b00000000000000000000993a000000009938000000009938000000009938,0c0,0e00000000000000000000,0f00000000000000000000,10000002000008000008000008000008,110,12000,150,17000000000000000000000000000000,181;
    It is mostly meaningless crap that keeps repeating and repeating and repeating for no apparent reason.  How do you shut this off?

    Hi @GlobalRoamer ,
    I have sent you a private message. If you are not sure how to check your private messages then this post has instructions that will guide you through the process.
    Regards,
    George
    I work for HP

  • HT1349 i just got my second ipad, i want to put all the music from my 1st one straight to my second, how do i do that?

    i just got my second ipad, i want to put all the music from my 1st one straight to my second, how do i do that?

    Set you 2nd iPad from your 1st iPad. If you have your music in your iTunes library, it's easier as you can set it up as a new device and then go to music>sync all music.
    Once you set up you 2nd iPad from your 1st one, if you want do not want the other setting to be synced, turn it off. For example, in apps, uncheck everything and you can get rid of them.

  • How to get only seconds from the time block function?

    Hello, I want to know to get only "seconds" from the time function. I tried to find other time function but I couldn't find anything that provides only second to be written in the text file.

    It may not be the best way but it works...
    Rodéric L
    Certified LabVIEW Architect

  • After 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.

    Hi Experts,
    Here is the client requirement and please let me know how to solve this.
    Earned Leave: after 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.
    Example: if employee joins on 01/07/2012 after 1 year i.e 01/07/2013 quota should generate 22 days next year on 01/01/2014 pro-rata quota i.e 01/07/2013, 11 days pro-rata quota should generate. Total 22+11 =33 have to generate on 01/01/2014. and next year 01/01/2015 (22+11+22)=55.
    Note: on 1/7/2013 = 22 days
    on 1/1/2014 = 11 days +22 days; total=33
    on 1/1/2015 = 33 days +22 days; total=55
    Conditions: if employee joins before 15th date of current month include the current month, if employee joins after 15th date exclude the current month.

    You will need 2-3 PCRs to address this.
    In one PCR you need to query the Date of Hire (from IT0041 - I guess you are maintaining this) using HRS=YDAYxx - where xx is the date type. You can then check it it is the first year anniversary or not by using HRS?01. If the condition satisfies populate a custom time type with 22 days.
    In another PCR, you need to check for 01 Jan by using HRS=BCURMO and HRS=BCURDY. In this PCR check again the length of service (see above). If it is more than 1, then proceed to give the pro-rata amount.
    If the pro-rata formula is simple you can use the second PCR or you would need a 3rd PCR to get the pro rata amount. Using HRS=Y**** operator you can query many date differences which will help.
    Regards
    Pramod

  • My Phone Thinks it's January 1st, 1970. How Do I Bring it Back to the Future?

    I've never actually seen that movie, I'm sorry if I don't understand any references.
    Okay! So, here's the run-down. I have an LG Lucid 2. I am in England right now studying abroad for the year, and I have suspended my phone service, and have only been using wifi when it's available. When I got into the UK, my phone was still on USA Central time. I have searched the phone, and the manual, and an online version of the manual, and have not been able to find a way to change the date and time manually. Now, this ordinarily wouldn't have been a problem, but then I took my SIM card out (wanted to see if the SIM cards they've been giving away here would fit in my phone if I got it unlocked from Verizon and not have to get a new phone to use here, but I did not put the other SIM card into the phone) and put it back in and started the phone up. This is when it time-traveled. It started back up at 6:00pm, January 1st, 1970. So now, a lot of my apps aren't working because they're demanding I change my date and time, but when I go to do that, the only options I have are to change the date and time /format/. I just want to get my phone onto the right time. I even tried to hard reset it, but when I held both the power button and the volume button after turning it off, it came to a screen that said something like "Downloading Screen, Do Not Unplug Device Until Finished" or something like that. If I didn't touch it, it would stay like that. If I touched the power button like the manual says to do, nothing happened. I could only get one thing to happen - which is for it to start back up again with all of my apps and media and settings. So. That didn't work. Please help. Please. I am tearing my hair out over this and after waiting an hour, staring at the livechat button, willing it to turn on, I've had no luck.

    Just for asking can you post a screen shot of the Date and Time settings,  Like shown below"  press either the Lower volume and power or upper volume and power the 2 that snaps a screen shot once you've done that if ya know how to post a S.S.  post it to thread and that way it will give us a Look at your settings..
    Here's a Screen shot of my Droid Maxx with the Date and Time..

  • Firefox 18.0.1 often freezes, at random times, since about 31 Jan 2013

    2 Feb 2013
    Concerns: Firefox 18.0.1 often freezes, at random times, since about 31 Jan 2013
    I am using Mozilla Firefox 18.0.1, Windows Vista, PC, Desktop.
    My Mozilla Firefox freezes since about 31 Jan 2013 at random times quite often, when I do see TV or videos, also with YouTube videos. It freezes especially when I do start TV or a Video, sometimes also it freezes when the video is running for some time. I do use Firefox mostly only for TV and videos, so else I do not see.
    Some days earlier (26 January 2013), I had installed the upgrade of the new Norton Internet Security 2013. The two Norton add-ons on for Firefox, I have both deactivated.
    I can get out of the freezing, when I do click to end the Internet connection. After I have waited for about 5 seconds, the Mozilla Firefox browser can be moved again with the cursor. After I click to close the Firefox, and wait for about 5 seconds, the freezing also does end.
    I did do two Windows restores, one to 1 week ago and the next to 2 weeks ago. After the restore, when I started Mozilla Firefox, it was at first Firefox 17. But to my very bad luck, Firefox started immediately to update to Firefox 18.0.1 I had seen this updating on Help – About Firefox. There were good times, when people could choose themselves which version of Firefox they wanted.
    After the restore, I had also downloaded the latest Adobe Flashplayer version (about version 11.5), but the freezes have remained the same.
    Is there a possility to prevent the automatic update of Firefox? So that I could choose which version of Firefox, I do want. When there is a serious bug in Firefox, I could nevertheless use Firefox instead of changing to the Internet Explorer. I know I myself am responsible to prevent hackers from entering my computer. I have read that 80% of users in Germany do not have any Internet Security against hackers at all.
    My Internet Explorer until now does not freeze.

    This is not a solution. It is a gun in the mouth. Give us specific solutions, not "throw everything away" palliatives that involve no thought, investigation or effort of any kind on Mozilla's part. 95% of the utility of FF is not FF itself, but addons. After many years of developing that context, throwing it all away to get back a rudimentary 5% is as unacceptable as it is stupid.

  • TS3899 I just switched to Iphone 5c from Blackberry...is there a way to jump from the 1st email listed to the bottom of the list (sometimes 300-400) without scrolling manually thru them all?  Also is there a way to organize them by sender?

    I just switched to Iphone 5c from Blackberry...is there a way to jump from the 1st email listed to the bottom of the list (sometimes 300-400) without scrolling manually thru them all?  Also is there a way to organize them by sender?

    Well, I think I know why the rules are not working. The alias mailbox is being listed as another mail folder  and not as an actual inbox so the rules are not being applied. While I wish the rules would work, I will continue to manually mark some of the emails as spam.
    As for the second issue with emails vanishing, I am waiting to see if it happens again. I think it must happen when it is syncing the data but I am not sure that it happens all the time. Today the previous emails seem to be their and it grabbed the new email so I don't know what happened with the vanishing email. Anyway this can be closed since I believe the main issue has been solved as being a setup issue with Yahoo alias email account.

Maybe you are looking for

  • How to deauthorize a dead Mac

    Hello The logic board on my Power Mac G5 Dual 2.5 GHz failed and I moved the two hard drives to a 1.8 GHz G5. Do I need to deauthorize the dualie? My Adobe software includes Photoshop Elements 3, Acrobat 5.0, Adobe Reader 9, and Flash Player. I canno

  • Apple TV has a flashing amber light

    I've tried to un-pair and re-pair the remote. Unplugged it for about a half hour. Has anyone come across this before and is it salvageable? Thanks,

  • Not working my payment method my account is axis bank master card declined

    My bank is Axis bank my card is debit card master not payment declined anothor payment option pls help

  • Bootcam Problem Windows 8.1 Please Help

    I havea MacBook pro a1278model (2011 model) I have successfully installed windows 8.1 64bit using boot camp assistant However I am not able to install bootcamp on windows, as a result none of the drivers get installed I have downloaded Boot Camp Supp

  • Safari is not opening pdf's anymore with preview. Help!

    Hello, Can anyone help me to get safari to open pdf's using preview again? I installed adobe reader and it seems to have highjacked safari and now is the default pdf viewer for pdf's opened in safari while browsing on the web. Things I have tried so