Number to time stamp function: criptic help

Your help is VERY misleading.... it costed me hours...
If you say that the time stamp is "time-zone-independent number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time"  you should display it as it is or *please* say that the time stamp is calculated in UTC time but displayed in local time.
In fact, if I want to convert 3600, I would expect to see 1:00 am 1/1/1904, but I see 6:00 pm 12/31/1903, because I am in Colorado....
By the way... it is wrong anyway, because there is now Daylight Savings time, which puts CO at UTC-6, not UTC-7..... Why don't you just have it display UTC time and we can all figure out where we live??

Did I say something like that?
And in LabVIEW 8.6 the Date/Time Format functions have an option to select if you want to see local time or UTC. And believe me if LabVIEW would display by default UTC instead of local time, 99.999% of the users would complain in a way that NI would not be able to do other business than answering those complaints anymore.
About the time zone difference you should probably check your Windows settings. LabVIEW is simply using whatever Windows believes is the timezone it is working in. You usually select that during installation of a Windows system and there are various options such as not letting Windows adjust for DST automatically and then you might have adjusted simply the timezone or something.
Rolf Kalbermatter
Message Edited by rolfk on 08-18-2009 09:32 PM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Problem with Time stamp function module for converting US to Japan

    Hi All,
    I need standard function module for converting US Timestamp to Japan, Can any one let me know is there any standard function modules.
    thanks in advance!
    Regards,
    Kalidas.T
    Edited by: Kalidas Thirumoorthy on May 5, 2009 5:29 PM
    Edited by: Kalidas Thirumoorthy on May 5, 2009 5:30 PM
    Edited by: Kalidas Thirumoorthy on May 5, 2009 5:30 PM

    Try this way:
    CONVERT TIME STAMP <tst> TIME ZONE <tz> INTO DATE <d> TIME <t>.
    CONVERT DATE <d> TIME <t> INTO TIME STAMP <tst> TIME ZONE <tz>.
    <tst> is of type P(8) or P(11) with 7 decimal places
    <tz> of type C(6)
    Refer to help.sap.com for more details.

  • Number to time stamp

    hi
    i am trying to convert the following
    hour
    min
    sec
    three seperate integer values in an array .
    i want to convert the value as hour:min:sec.some one help me.
    thanks in advance
    Indrajit
    | [email protected] | [email protected] .

    see the attached example
    Message Edited by JoeLabView on 06-24-2007 03:16 PM
    Attachments:
    datestampToArray.PNG ‏11 KB
    datestamp to array.vi ‏10 KB

  • Time stamp to number function

    The Conversion VIs and Functions palette has a function that converts the number of seconds elapsed to a time stamp (To Time Stamp Function).  I need to go in the other direction, from a time stamp to a double (number of seconds elapsed since 12:00 a.m., Friday, January 1, 1904 Universal Time).  Does anyone have a function to do this?  I've tried to type cast with no success.
    Steve Hall
    [email protected]
    Solved!
    Go to Solution.

    Just use the To Double Precision Float function. It's polymorphic and it will accept a timestamp to return the number of seconds since the LabVIEW "zero-time".

  • How to remove time stamp on query export?? HELP

    I am runnning SQl Developer 2.1 and built a query which returns dates that letters were mailed and or correspondence received. My Query Results show normal date format (02-Mar-12) within Developer. When I export the results to Excel it includes the time stamp (02-MAR-12 06.13.20.000000000 PM). I had a coworker with an older version run the same query, when she exported the results the time stamps weren't exported, just the date. How can I change the export to remove the time stamp? Any help would be great. Thanks.
    Nate

    Hi,
    Clearly a bug. You can try changing your Tools|Preferences|Database|NLS|Timestamp Format to match the Date Format as a workaround. Otherwise why not upgrade to the lastest production SQL Developer release (3.1.07.42)? The bug does not occur there.
    Regards,
    Gary
    SQL Developer Team

  • Wrong Time Stamp from GPS GGA Sentence?

    Hello Everyone,
    Today I made a short program to interface with a GPS antenna over the serial port, and parse the incoming strings.  That part seems to work great.  However, when I decode the GGA sentence to retrieve the UTC time (hhmmss.ss) and try to convert it to a time stamp, the value seems off. 
    First, when I'm watching the UTC time count up, one second of displayed time is longer than 1 second of me counting out loud.  Counting out loud isn't super accurate, I know, but it takes almost 2 seconds of real time to pass before 1 second updates on the display.  Not sure why.  I'm thinking it has something to do with my loop timing?  The expected sample rate coming from the antenna is 5 hz.  I have a wait function built into the program to time the loop, and if I try any value I try besides 200mSec, then the sentences don't read correctly at all.  Am I getting data correctly by setting a wait function, or should I be doing something else. 
    Also, the time just doesn't match up with my computer time at all.  When I first ran it, it was like 10 minutes fast.  But I let it run for a little while and now it's 1.5 hours fast.  I'm not sure if it jumped to that time, or worked it's way up.  Either way, if the seconds truly are updating slower than 1 second of real time, I'm not sure why the timer is fast? 
    I'm pretty confused at this point.  This is my first time using GPS, so if anyone with some experience could help, I'd appreciate it. 
    Thanks,
    Alex 
    Attachments:
    Front Panel2.JPG ‏68 KB
    GPS1.vi ‏44 KB
    Block Diagram2.JPG ‏132 KB

    Ok, thanks for the quick responses everyone.  I will try to weave together replies to some of your comments, as well as talk about a discovery I made. 
    As far as my system goes, I actually have a Blue Tooth unit communicating over the serial port.  It works great through Hyper Terminal, as I can use it to retrieve NMEA sentences just fine.   The VI I made with Labview retrieves the sentences just as well, so I know I am communicating with my antenna.  I know I have a lock on several satellites, because I can get that information from one of the sentences.  The UTC time it provides, in the format hhmmss.ss (similar to your GPRMC Mike), seems correct.  It matches my system time within a minute.  So I am pretty confident with the system setup.
    That being said, I made a discovery this morning that might point to the problem.  Right now I am retrieving 2 sentences from the GPS unit: GPGGA and GPVTG.  When only pulling in the GPGGA sentence into Labview, the UTC time seems to be updating as I would expect.  Every time I count one second of time, the UTC time changes by one second.  Great!  Then I programmed the GPS unit to start outputting GPVTG sentences in addition to the GPGGA sentence.  Now when I look at the UTC time, it takes longer than 1 second real time to update 1 second of UTC time.  I hope that makes sense.  So it seems like when I pull in two sentences at a time, the system slows down.  Is this a VISA read error or something?  I don't know where the problem really could be.  This seems like the main issue. 
    Otherwise, the second problem I have, is actually converting the GGA time value to a Labview timestamp.  Right now I just have the UTC value (hhmmss.ss) feed into a "to Time Stamp" function within Labview.  I'm not sure that is the correct way of going about it though.  I guess I'm not even sure where a date value comes into play either? 
    Anyways, hope you can guys can see something here that I am missing. 
    Thanks again. 

  • Read file latest entry with time stamp from unix

    Hi
    I have a log file which is being generated with an entry  like this
    Product20080228185707,TRANSPORTED,862067_G,MPITT,20080415,ADEAMICIS,
    Product 20080229151029,TRANSPORTED,862067_G,MPITT,20080415,ADEAMICIS,
    Product 20080320163241,TRANSPORTED,862067_G,MPITT,20080415,ADEAMICIS,
    Product 20080229151111,TRANSPORTED,862067_G,MPITT,20080415,ADEAMICIS,
    I know how to read the file from Unix but How do I pick the entry with latest time stamp ?
    Please help urgent
    thanks

    Hi,
    Do like this.
    1. Declare table with two fields as name(255) type c, timestamp(14) type n.
    2. Loop at your entries and push entry name in name field and time stamp in timestamp field. You can move time stamp as: move file+7(13) to timestamp.
    3. So your new internal table will have entry names and timestamp.
    4. Now sort itab by timestamp descending.
    5. Read itab index 1.
    this will give you latest entry from unix.
    i hope this helps,
    Ags,

  • ITunes "Last Played" Time Stamp issues

    I have a late 2011 Mac Mini running OS X 10.8.2 & iTunes 11.0 (163).
    Ever since I did the last update to iTunes, the "Last Played" time stamp has not worked.
    In the past, whenever a track finished playing, iTunes would place the time & date in the "Last Played" column. This no longer works.
    I just came back from the local Apple Store, & one of the workers there suggested setting the iTunes Preferences supply the time stamp.
    When I got home, I went through the preferences, but could not find anything for the "Last Played" time stamp.
    Please help.

    Go into iTunes Preferences and turn off crossfade.  Don't ask why it works; do ask apple to fix this bug!

  • Help adding current Date and Time stamp to file name

    I need help with my script adding current Date and Time stamp to file name.
    This is my file name = myfile.htm
    I would like to save it as = myfile.htm 8/29/2007 11:41 AM
    This is my script:
    <script>
    function doSaveAs(){
         if (document.execCommand){
              document.execCommand('SaveAs','1','myfile.htm')
         else {
              alert("Save-feature available only in Internet Exlorer 5.x.")
    </script>
    <form>
    <input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
    </form>
    Thank you

    I agree, I guess I overlooked that!
    I would like to save it as = myfile 8/29/2007 11:41 AM .htm
    I need help with my script adding current Date and Time stamp to file name.
    This is my file name = myfile.htm
    I would like to save it as = myfile 8/29/2007 11:41 AM .htm
    This is my script:
    <script>
    function doSaveAs(){
    if (document.execCommand){
    document.execCommand('SaveAs','1','myfile.htm')
    else {
    alert("Save-feature available only in Internet Exlorer 5.x.")
    </script>
    <form>
    <input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
    </form>

  • IDOC number should be passed with Time stamp

    Here the scenario is IDOC to File.
    Currently I am getting the date and time stamp but I want to pass the IDOC number after the torr_asn_20080522-010137-257.txt
    torr_asn_?_20080522-010137-257.txt
    Here in place of question mark I want to pass the IDOC number and how to pass
    Let me know quickly as the issue is very urgent.
    Points will be awarded.

    Hi Arjya,
    If your requirement is to create , the file name dynamically for your receiver file adapter, you can do so using your FILE ADAPTER CONFIGURATION itself, and need not go for any JAVA Mappping / Java Code at all.
    *The dynamic filename generation concept is as follows.8
    In your filename field in the receiver file adapter, just give a variable with % symbols. (eg: %file% ).
    Now, under the option Variable Name Substitution, you can give how the value has to be created.
    It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
    For the former, your give
    message:interface_name ,etc
    and for the payload part you give,
    Payload: "your element root which u wanna acecss"
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    Also, in your FILE Adapter under the option FILE CREATION MODE, you have options like,
    1.Add Counter,
    2. Append
    3. Create
    4. Add Time Stamp
    Reward points if this helps
    Regards
    Pragathi.

  • Time stamp to number conversion

    Hi All,
    I notice in Labview 7.0 the 'Get Date/Time to Seconds' and 'Seconds to Date/Time' now output a Time Stamp rather than actual seconds.
    There is a 'To Time Stamp" standard vi in the conversion pallet that converts a number (seconds) to a time stamp but I really need to convert from a Time Stamp to real seconds.
    Does anyone have a vi that might do this or is there something already in LabVIEW 7.0 I have overlooked?
    Many Thanks in Advance for your help.
    Sammy Mason

    You are going to have to post an example where the conversion does not work.
    Message Edited by Dennis Knutson on 05-05-2007 05:34 AM
    Attachments:
    TimeStamp to Dbl.PNG ‏2 KB

  • Time stamp / serial number

    Trying to create a serial number that is stamped with a dealer ID code, and the current date/time when the form is initially opened.
    var dealer_id = String(Dealer_ID.rawValue);
    var today = new Date();
    var serializedNumber = Dealer_ID + today.getTime();
    SerialNum.rawValue = serializedNumber;
    Something is amiss as I get this info in the SerialNum field:
    [objectXFAobject]115764993
    Any help figuring this out is greatly appreciated!
    Joe Zach

    Joe,
    Javascript is case-sensitive. The following is the cause of your problem:
    var serializedNumber = Dealer_ID + today.getTime();
    It is trying to add the Dealer_ID form field object itself to the time. You need to instead add the
    value of the field to the time. Change 'Dealer_ID' to 'dealer_id' and that should fix your problem.
    Justin Klei
    Cardinal Solutions Group
    www.cardinalsolutions.com

  • Officejet Pro 8620 cannot print without page number, date and time stamps

    I have just bought this printer and spent a few days trying to get to grips with it. I managed to solve one problem when I could not access the printing preferences by reinstalling the driver.  I cannot remove the print page number and date and time stamps from a print. Please help!        

    I have managed to solve this by changing page settings. These were oddly reset when the printer was installed.

  • When i try to do a software update, it finishes and then says that the update cannot be saved because it has probably been corrupted during the download. This has happened a number of times and i do not know why, any help?

    When i try to do a software update, it finishes and then says that the update cannot be saved because it has probably been corrupted during the download. This has happened a number of times and i do not know why, any help?

    asifmanzoor wrote:
    i have 10.7.2, this download is 10.7.5
    Are you Downloading it from here  >  http://support.apple.com/kb/dl1582
    asifmanzoor wrote:
    yes, i am using wifi
    1)  Turn your Wi-Fi router OFF... wait 30 seconds... Turn it back ON.
    OR...
    Do not use Wi-Fi and connect Directly to your Internet via ethernet cable.

  • I have an I pad2, an iMac desktop and an I phone 5, how do I get them all to be bale to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Ay help gratefully received !!

    I have an I pad2, an iMac desktop(2012) and an I phone 5, how do I get them all to be able to face time with each other, do I need different email addresses, use the phone number, or the sim number in the iPad ? Any help gratefully received !!

    Graham,
    For the iPad, iMac you need to create verifyible e-mail addresses created with one of the providers such as Yahoo, Gmail,etc.  For the iphone you should use it's phone number, but an e-mail could be used for it too.  If you want to associate these e-mail addresses with a single ID, I'm including a link to give you info about how you can do that. Read it carefully, as it can be a bit confusing.
    http://support.apple.com/kb/HE68

Maybe you are looking for

  • IOS7 no longer working with airplay

    I'm not sure if this question should be posted here or in the airport section.....but I am going to give it a try here first. I have speakers in various rooms of my home and they are all connected to individual airport expresses. I have upgraded my i

  • Trying to install OS X 10.3 on Lombard

    I have been trying to install 10.3 on my lombard for two years and it freezes during install, I am tired of going to the apple store to enjoy os x. I can not afford to upgrade laptop live on minimal fixed income. I have 256 mb of ram in my laptop. So

  • Class file location

    I am not sure if this would be an admin type question but here goes: I have a Coldfusion 6.1 server riding on Weblogic 8 ish and I am trying to do a small java example... *sigh* I am getting a "class not found" error and so I went looking for my clas

  • Can not copy any file or empty the trash

    Hello, I'm using a Macbook (white) with OSX 10.6.4 and am having an extremely annoying problem which has three symptoms: 1. I *can not empty the trash* (safely or not) at all. 2. I *can not copy any file*, anywhere. 3. I *can not move anything to the

  • Microsoft Query - ODBC Remedy DB

    Hi ALL , Am using Microsoft Query ODBC  to connect to the BMC Remedy from excel . Now am stuck in a situation i wish to automate it but for that i need to provide a function that works like getdate() in sql server or sysdate in oracle . Please let me