Time stamp or get info including seconds

Hi there,
I'm trying to get more specific information about a selection of files - in particular, the seconds (and even milliseconds if possible) relating to the time-stamp for each. I've tried changing the international system prefs to full format but this seems not to have had any impact on finder or get info.
Thanks,
Sarah.

saraheaston wrote:
I'm trying to get more specific information about a selection of files - in particular, the seconds (and even milliseconds if possible) relating to the time-stamp for each. I've tried changing the international system prefs to full format but this seems not to have had any impact on finder or get info.
You can see seconds in the Terminal utility by using the "-T" switch:
ls -l -T
(Those are lower-case letter "L".)
I'm not sure of the best way to show anything of finer resolution.

Similar Messages

  • Time Stamps in Producer/Consumer Setup

    I am trying to acquire signal from a Gas Analyzer, Flow Meter, and 3 RTDs.  My hardware is a NI 9215 and NI 9217.  I need to write the data to a file with a time stamp at which the sample was read.  The program is written in a producer/consumer setup in which the data is being acquired in the prodcuer loop and sent to the consumer loop to be written.  I can get the samples written to the file okay. However, I have not figured out how to put the time stamp in the data file correctly. I thought the time stamp was created with the corressponding measurement at the Data Acquisition VI. However, whenever I open the data file, there are only 0s in the time column.  So, I've tried to use Format/Date String to add the time stamp. I can get it to work if I place it in the consumer loop. However, the time stamp is not accurate.  It puts the same time stamp up to six digits of precision for two consecutive samples. I've tried to figure out how to add it to the producer  loop, but I don't know how to add it and the measurements to the queue at the same time. Please tell me the best way to acquire signals with the exact time stamp and write them to a file using a producer/consumer design.
     Example:
    Date             Time               RTD1     RTD2      RTD3     CO2      Flow
    5/26/07      5:20:01.25       57         56         56.5      100       0.5
    5/26/07      5:20:01.30       57         56         56.5      100       0.5
    5/26/07      5:20:01.35       57         56         56.5      100       0.5
    Attachments:
    Producer-Consumer From Scratch2.vi ‏75 KB

    Okay, I've put it in a For Loop and it will connect now. However, whenever it runs the time stamp increments for a couple seconds and then it just repeats. How do I correct this?
    Attachments:
    Producer-Consumer From Scratch2.vi ‏88 KB
    pleasework.txt ‏20 KB

  • Error messages when sending date-time stamp to Oracle Database

      I have a complex application that communicates with an Oracle database.  One of the table values that gets written to the table is a date-time stamp.  Until recently, the user only required a date, and this was never an error. (The format String used was %d-%b-%Y)  Now they need a time-stamp as well, so I attempted to edit the format string input of the format date/time string function to include the time. I have tried numerous format strings, each of which returns an error on execution.  Depending on which format I use, I get one of 3 different error messages.  The really odd thing is that both the date and time always get stored in Oracle without any problem (regardless of what date-time I use, as long as I include the date and any part of a time stamp - I get the entire timestamp even if I only include %I for the hour).  The only issue is that LabVIEW generates an ODBC error if I try to include the time to the date-time stamp.  In other words, teh date/time stamp writes to the Oracle database, but an ODBC error occurs every time.  I've included a word doc with screen captures of the format strings used, the resultant date/time stamps written to Oracle and the error messages generated within LabVIEW. Any advice would be most appreciated.
    Attachments:
    Summary of ODBC Error messages related to date-time stamp.doc ‏65 KB

    Oracle has a standard date format: 12-Mar-2009 that it accepts as a string, but if you want more than that, you need to use the todate() function. I used this string going into the standard LabVIEW ''Format date/time sting vi' 
    to_date('%d-%b-%Y %H:%M:%S', 'DD-MON-YYYY HH24:MIS') to create the value needed for Oracle.
    Then I use standard format string to create SQL: insert into mytable (mydate) values(%s) and select * from my table where mydate = %s using the string above for %s.
    I think you can also define a global format for all time strings but I haven't bothered figuring that out.

  • Is there any way to undelete an App that was deleted by accident, while at the same time keeping all the info that was in the App?

    Is there any way to undelete an App that was deleted by accident, without loosing all the information that was in the App?
    Any help would be greatly appreciated.
    Thanx P.

    Only if you have an iPhone backup from the time before you deleted the app. App data and settings are part of the backup, but iTunes replaces the existing backup with a new one when you sync. Only backups used to restore the phone will not be replaced and marked with a time stamp.
    If you included the iphone backup folder into your computer backup routine, you could restore the folder and use the iphone backup to restore your phone. But all data will be set back to theat point in time when the backup was taken.
    More info here: iPhone and iPod touch: About backups

  • *.eml Time Stamp - Select File in Windows Explorer Changes the Modified Date

    The Windows Live Mail *.eml files time stamp is getting changed to the current date when the file is selected in the Windows Explorer! I save backup copies of important E-mails to folders on the Hard Drive and then synchronize them with the same folders on other LAN Hard Drives for backup archives. When these E-mail files are selected or opened from the Windows Explorer in the Windows 7 OPS the Modified Date Time Stamp is changed to the current date automatically! This action creates a real problem when doing later synchronizations of all of the folders! The date will not be the original date of the E-mail and the original file will be over copied with the file with the newest date stamp. I stopped Indexing on the *.eml files and that stopped the time stamp change when overcopy synchronization, but if the file is selected during a viewing in Windows Explorer then the Time Stamp is updated to the current date again! A solution to this problem would be greatly appreciated if anybody knows of one. Thanks - - - Shorto

    The Date and Timestamp changing issue in Windows 7 has a two part fix!
    1. Disable the Indexing of the *.eml file type in the Indexing Options located by Clicking on "Control Panel" -  "Indexing Options" - Advanced Button - File Types Tab - scroll down to the .eml file type and uncheck the Box then click OK to finish, so
    that the Email type of files won't be Indexed.
    2. Delete the Registry Entry listed below, be sure to Export and Save the original Key so it could be Restored if something goes wrong!  \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers
     and Delete the .eml entry
    That should fix the problem with the changing Date/Timestamp of Email Files. For more information read CarlS's WindowsSeven Fourm thread where I also have more input:
     http://www.sevenforums.com/browsers-mail/35334-eml-files-timestamps-updated-constantly.html
    This should give you a better understanding on the problem and the Fix. - - - Shorto

  • Time Stamp Precision

    I am trying to output a daq to a file but the time stamp is only outputting in seconds.  I need more digits of precision.  I tried the Format Date/Time string and modified the time format string but this did not help.  What am I doing wrong.  I am attaching what I have.  The problem is in the bottom true/false case structure.
    Message Edited by HereWeGo on 08-13-2008 11:11 AM
    Message Edited by HereWeGo on 08-13-2008 11:13 AM
    Attachments:
    timestamp to string.vi ‏82 KB

    Remove the "<" and ">" characters from your format string.

  • How to read a time stamp from the db without ".0" at the end

    Hi All,
    I have code that is saving the results of a query in a result set.
    When ever i read a time stamp from the db (mysql 4) it always adds ".0" to the end of it.
    I tried using the getTimeStamp, getDate, getString methods for result sets and was not able to resolve the issue.
    Am i missing something here?
    Thanks

    here is the code
    public static Table executeSelect(Connection conn, String qry)
         throws SQLException {
              Statement stm = null;
              ResultSet rs = null;
              try {
                   stm = conn.createStatement();
                   rs = stm.executeQuery(qry);
                   Table t = new Table(rs);
                   return t;
              } finally {
                   close(null,stm,rs);
    Basically the user is asked to enter the query and the connection settings and then i retrieve the data and return a table.
    Now if i try to print the value of the time stamp from the result set it adds a a .0
    So for example if am running the following
    select mod_ts from temp limit 1;
    | mod_ts |
    | 2007-12-28 09:32:58 |
    1 row in set (0.00 sec)
    When i print the value of the time stamp it gets printed as 2007-12-28 09:32:58.0
    The following code is used to generate a table from the result set
    public Table(ResultSet rs) throws SQLException {
              ResultSetMetaData rsmd = rs.getMetaData();
              int colCount = rsmd.getColumnCount();
              colNames = new String[colCount];
              colTypes = new int[colCount];
              for ( int i=0; i<colCount; i++) {
                   String colName = rsmd.getColumnName(i+1);
                   colNames[i] = colName;
                   int colType = rsmd.getColumnType(i+1);
                   colTypes[i] = colType;
              while ( rs.next()) {
                   if ( data == null) {
                        data = new ArrayList<List>();
                   List<Object> row = new ArrayList<Object>();
              for ( int i=0; i<colCount; i++) {
                   Object ob = rs.getObject(colNames);
                   row.add(ob);
              data.add(row);
    Now when i print the values in the result set it adds a .0 to the end of the time stamp
    I also tried using getTimeStamp for a result set and the same problem still existed

  • Process chain time stamp

    hi, I'm just starting to use SAP and was setup to do process chain monitoring. We are getting ready to add some new chains to the loads, and I was looking at the RSPCPROCESSLOG for time stamps on which chains were running longer. the problem is the time stamps are confusing and don't seem to make too much sense. Can anyone help me decipher these two?
    20.140.623.153.008,5908200(start time stamp)
    20.140.623.153.241,6544130(end time stamp)
    I get the parts that its 2014/06/23 and the next digits are to be HH/MM/SS, if so, these numbers are wrong, because this job starts ~10:30 am.
    any assistance would be greatly appreciated

    Hi
    we will achive your requirement using  RSPCLOGCHAIN,RSPCPROCESSLOG ,tables
    please write a program like as a below
    types: begin of ty_rspc,
           log_id type rspc_logid,
           starttimestamp type rstimestmpl,
           endtimestamp type rstimestmpl,
           end of ty_rspc.
    Data: lt_pclog type standard table of rspclogchain,
          wa_pclog like line of lt_pclog,
         rspc type table of ty_rspc,
           wa_rspc type ty_rspc,
           e_status1 type char10,
           i_chain1 type rspc_chain,
           logid type rspc_logid.
    parameters: chain type rspc_chain.
    select-options : dat for date  no intervals ,
    select * from rspclogchain
                   into table  lt_pclog
                  where chain_id = CHAIN
                    and datum in dat.
    if sy-subrc = 0.
            sort lt_pclog by datum zeit.
            loop at lt_pclog into wa_pclog.
              if sy-subrc eq 0.
                logid = wa_pclog-log_id.
                i_chain = wa_pclog-chain_id.
              endif.
              select log_id  min( starttimestamp ) max( endtimestamp )
                from  rspcprocesslog
                into table rspc
               where log_id = logid group by log_id .
              if logid is not initial and i_chain is not initial.
                call function 'RSPC_API_CHAIN_GET_STATUS'
                  exporting
                    i_chain  = i_chain
                    i_logid  = logid
                  importing
                    e_status = e_status.
              endif.
              if e_status = 'G' ....... R ,J, X,A,F
       *we have to calculate the start date&time and enddate& time
    loop at rspc into wa_rspc .
                  if sy-tabix = 1.
                    time_end = wa_rspc-endtimestamp.
                    exit.
                  endif.
                endloop.
                loop at rspc into wa_rspc .
                  time_start = wa_rspc-starttimestamp.
                endloop.
               hh = time_end+10(2).
                min = time_end+12(2).
                ss = time_end+14(2).
                concatenate hh min ss into  time_e .
                concatenate hh min ss into  time_ed separated by ':'.
                hh = time_start+10(2).
                min = time_start+12(2).
                ss = time_start+14(2).
                concatenate   hh min ss into time_s .
                concatenate hh min ss into time_st separated by ':' .
                date_end = time_end+2(8).
                date_start = time_start+2(8).
    i have write some idea program , ask ur ABAper to fine tune .
    Regrds,
    polu.

  • Does Logic make use of Midi Time Stamp

    Hi,
    Id like to know if Logic make use of MTS or "Midi Time Stamp" to get enhanced midi timing with MOTU or Digidesign midi interfaces?

    Hi,
    Id like to know if Logic make use of MTS or "Midi Time Stamp" to get enhanced midi timing with MOTU or Digidesign midi interfaces?

  • How to include seconds and millisecon​d in the CSV file time stamp generated by the SpreadShee​t Object?

    I'm Using Lookout 6.02, in a XP Pro Windows Machine, Service Pack 3.
    I have an application that collects data at the rate of 20 samples per second. It works just fine, the CSV File contains all the samples without missing a single one.
    The problem is that the time stamp in the data file only shows hours and minutes. With 20 sample per second, there are 1200 samples per minute. It is hard to figure out in which second or sample number, occurred some events collected. These files are open with Excel and analyzed with Excel. There is no easy way to implement a search or a guidance for knowing the sample number or the exact time in Excel.  My problem is to add the seconds and if possible the milliseconds to the time stamp done by the spreadsheet object.
    Any suggestion?
    Other ways to do the same that includes the time stamp all the way down to milliseconds?

    Create another column with the Now() function, then set the calumn format to hh:mm:ss.s
    expression would be now(trigger) for the date and time or now(trigger)-today(trigger) for just time
    The trigger will cause the expression to stay updated, perhaps using the same trigger for logging the spreadsheet.
    Good luck
    Mike
    Message Edited by Mike@DTSI on 01-16-2009 04:12 PM
    Mike Crabtree - Lead Developer
    Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
    (866) 964-6948 / (760) 247-9512

  • Get Time Stamp will milli seconds from string time stamp format

    Hi Guys,
    I am trying to get the time stamp with milli seconds value from string format time data,
    Attached the snippet (Get milli seconds to Time stamp)I  tried.
    Attached Sub VI Convert string to time stamp
    When run,I am not getting the time string indicator with milli seconds value even though the format have <%2u> .
    please guide me on this.
     ..AND Finally i will be converting the date and time string output to time stamp data type
    Attachments:
    Convert_String_to_TimeStamp.vi ‏13 KB
    Get Milli seconds to Time stamp.png ‏25 KB

    You do realize you could have just used a single Scan From String to get the timestamp, right?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Get Timestamp.png ‏43 KB

  • I am trying to create a ringtone, when I right click and and go to get info I can't open anything under options. Itunes is not allowing me to do anything under options including changing the start and stop times. ??

    I am trying to create a ringtone, when I right click and and go to get info I can't open anything under options. Itunes is not allowing me to do anything under options including changing the start and stop times. ??

    GarageBand '11 - Create an iPhone ringtone - Apple Support

  • Time stamp dropping seconds

    I figure someone has had this problem before but didn't see it in the forum anywhere.  I'm adding a time stamp to a file so I've used the "Get Time/Date in Seconds" and wired that to a "Convert to DBL".  This then wires both into an indicator on the Front Panel and into the "Write to Measurement File" Express VI.
    The indicator displays the time stamp just fine but in the file it puts it into scientific notation and cuts off the last 4 digits as well as any fractional seconds.  The time stamp writes to the file every 5 seconds so it is important to have the rest of the time stamp included.  I've tried using probes on the wires to see where things go weird but I get the same truncated value in the wire before and after the indicator.  I thought it had something to do with the Express VI first since the indicator is fine but with it truncated in the wire it seems that the Express VI is indeed saving exactly what is handed to it...but then again the indicator...you can see I've been running in circles over this!  Does anybody know the reason it is doing this and a possible solution?
    Thanks a lot!
    Solved!
    Go to Solution.

    I can't post the exact code because it is being developed for use outside our lab but I've recreated the basics of the problem.  The array would be the collected data and except some filename details and things like that everything relevant to the time and saving is included.  Also settings in the express VI are the same.  Not sure if it will help out.
    Attachments:
    example.vi ‏56 KB

  • Converting time stamp in waveform to seconds

    Hello,
    I would like to convert the time stamp in a waveform (coming from 'AI Sample Channel') into seconds.  Currently when I read the waveform into a file I get a format that looks like
    18:00:47.453000
    Any help you can offer would be greatly appreciated, it seems like this should be easy to do?
    Thanks,
    Cullen

    In the attached example, I compare converting the datestamp to seconds by converting to double, to extended precision and doing a delta directly on the timestamp iteself (then converting). 
    Running the VI showed the same results (using Win-XP) for all three cases.  Unless you have a better OS, then the top example would probably do.
    At least the example will show you how to convert to seconds (in 50ms steps for the example), and how to do it using the array directly (polymorphic functions).
    Hope it helps,
    RayR
    Attachments:
    DeltaTime.vi ‏13 KB

  • Where can i get the time stamp in Messaging Multiplexor's log?

    i have modify the loglevel to 10,but i can only find the date informatioin in mmp's log like this:
    20060317 000000 PopProxyAService.cfg (sid 0xd100c4) USER login
    which is the "time" stamp and what's it means?
    i have read the Administration Guide/Reference,but didn't find session abt it.
    where can i get some documents abt how to read the mmp's log file?
    thx!

    bash-2.05# tail -2 /mypath/PopProxy_20060317.log
    20060317 052425 PopProxyAService.cfg (sid 0x6a2044) 12 C->S bytes, 34 S->C bytes in 0 seconds
    20060317 052425 PopProxyAService.cfg (sid 0x6a2044) session end
    bash-2.05# date
    Fri Mar 17 13:24:26 CST 2006but 52425/3600=14.6h=14:36
    that's different, i don't know the reason. does sth. wrong with my mmp?
    thx in advance!
    btw:you are respect because i found lots of result which anwsered by "jay_pleaset" during my search.

Maybe you are looking for