Automatically creating data filename out of date and time information

I read somewhere (in a book, here ?) about a programmer who never keyed in a data filename to save his data file. He just used the system date and time to create his filename. For example: now would be 20028141032.dat (2002, August 14, 10:32 am)
I am looking to do something similar. I do want to add a spot of text after the date and time and save it as *.xls.
This way when you have a long list of data files, if you sort by name, they are sequentially in order.
Thanks for any help.
Terry

Hi Terry,
You can use "Seconds to Date/Time" Funtion along with "File Dialog" Function to accomplish your task. You Unbundle the cluster from the "Seconds to Date/Time" with Year, Month, Day, Hour and Minute Information Convert and Append into One String. You Can add Pre or Post text to this String. Wire this to File Dialog Box and it will Pop up the Window With File Name in it as Default. Also the extemsion of the file name can be specified here. The User has Option to change this or accept this default name.
I have attached an Example Vi to Illustrate this(LV6.1) Take a Look. To Use this Just Wire the Path Information to your Saving Functional VI. Also the Vi Checks if File Exists or Dialog Box is Cancelled. And You may Build Functionality for the
se if you need them.
Good Luck.
Mache
Good Luck!
Mache
Attachments:
DateStamped_File_Name.vi ‏29 KB

Similar Messages

  • Created Date and time of a Historical Transport Request

    Hello,
        Is there a way for me to find the created date and time of a Transported Request (DEV>QTY>PRD)? I mean the TR which is now realesed and transported to production system?
    I will award full points to the best answer.
    Thanks in advance!
       ---ANiL
    Edited by: Anil Raparthi on Sep 11, 2008 2:09 PM

    Dear Anil,
    We generally follow a convention where we put the date of creation of the transport request in its description, so that we can identify the requests' based on creation date.
    There has to be some table to store such creation dates but I am not aware of any
    Regards,
    Yogesh

  • How to read the date and time information of a file by labview

    how to read the date and time information of a file by labview? for example, created time and modified time.
    Solved!
    Go to Solution.

    if you need to know the last modification date of file:-
    "Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
    This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
    Thanks as kudos only

  • How to know date and time information from Trace File defaultTrace.X.trc?

    Hi, all.
      i'm using EP 6.0 SP9 patch 1.
      As you know, default trace is written in the <SID>\JC00\j2ee\cluster\server0\log\defaultTrace.X.trc.
      By using the default trace formatter, it shows like the following sample messages.
    #1.5#0011110E7B2000590000000100000A100003EC71562E6EBC#1104396451585#com.sap.jms.server.ServerClientAdapter##com.sap.jms.server.ServerClientAdapter#Guest#18####716257115a3f11d9b73b0011110e7b20#SAPEngine_Application_Thread[impl:3]_23##0#0#Error#1#/Applications/JMS#Plain###JMS internal error at ServerClientAdapter! JMS Service is not started!#
      My questions are
      1. how do we retrieve the date and time information from the above message? It seems that this message has date and time info because LogViewer shows the date and time based on the above message.
      2. how do we change the above date format to easier one
    like "YYYY:MM:DD:hh:mm:ss"? i know that it can be configured from the Visual Admin --> Services --> Log Configurator but i don't know the exact place for the trace file.
      Thanks.

    Hi Sejoon,
    I use the standalone Logviewer to read the log files. Works great.
    "If you have an SAP Web Application Server Java 6.20 or below you may also get a standalone_logviewer.zip file at the SAP Service Marketplace at service.sap.com/download &#8594; SAP NetWeaver &#8594; Release ‘04. In this case JDK version 1.3 or higher must be installed on the system. The java version must be same on the server and the client.
    In the SAP Web AS Java 6.30 installation a folder named logviewer_standalone can be found under: <path Of J2EE installation>/<SysID>/JC<nr>/j2ee/admin/logviewer_standalone. Verify that the batch file logviewer.bat is installed in the directory logviewer-standalone.
    (source -> http://help.sap.com/saphelp_nw04/helpdata/en/e4/540c404a435509e10000000a1550b0/frameset.htm)
    Best wishes,
    Noel

  • Automatically Setting Date and Time - How often does it occur?

    Can anyone tell me exactly when Mac OS X retrieves the date and time from Apple's time server? Quite often, the time on my Mac is several seconds out from the correct time. When I open the "Date and Time Preferences", it seems to sync up with the correct time and everything is good.
    Is there any way to schedule when Mac OS X automatically sets the time, or how frequently over the course of a day it sets the time? Or, alternatively, does anyone know of a utility that I can use to accomplish this?
    Thanks in advance for any help you can give me.
    iMac 1.83 GHz Intel Core 2 Duo   Mac OS X (10.4.8)  

    Hi Barry,
    Thanks for your reply.
    I have a wristwatch that receives a radio signal which transmits the correct date and time from an atomic clock in Fort Boulder, Colorado. The watch automatically picks up this signal three times a day (in the early morning so as to get the correct time once we go on/off DST) and sets my watch to it. So my watch is always accurate (so long as it can receive this signal). I have an alarm clock that uses the same principle. It's actually kinda nice...I can look at my watch and KNOW I have the right time!
    At any rate, that's how I know my Mac's clock is out a few seconds...I just check it to my watch.
    The real reason I would like to be able to schedule this function (or, at least have it occur more often) is so my Palm TX gets the correct time from my Mac each morning. I automatically sync it to my Mac every morning, and one of the conduits actually synchronizes the Palm clock to the one on my Mac.
    I'm just curious to find out when exactly Mac OS X sets the clock. Does it happen once a day? Once a week? I haven't had my Mac for all that long, so I do not know what will happen when we go off DST this spring. Will OS X (based on the date) just bump up its clock by one hour, or will it actually get the correct time from Apple's time server and sync the Mac clock to it?
    And, if there's no way the change when this happens or the frequency with which it occurs, is there anyone out there who has written a utility which can do this?
    What about Automator? I'm new to the Mac world, so I am just learning about all this stuff. When I open the Date and Time System Preferences, the clock seems to sync up at that point. Could I use Automator to do this?
    As always, any help would be most appreciated.
    Thanks again for your reply, Barry!

  • Automatically setting date and time

    Is there any way to automatically set the date and time on an iPod Touch? I don't think so, but I thought maybe there was a third-party app or some other work around to do this. I don't see why this isn't built into the OS. I know the iPhone can do this by getting time information from the cellular network, but why cannot this be done also over a wireless network? My computer can connect to a time server over the internet.

    Hi Barry,
    Thanks for your reply.
    I have a wristwatch that receives a radio signal which transmits the correct date and time from an atomic clock in Fort Boulder, Colorado. The watch automatically picks up this signal three times a day (in the early morning so as to get the correct time once we go on/off DST) and sets my watch to it. So my watch is always accurate (so long as it can receive this signal). I have an alarm clock that uses the same principle. It's actually kinda nice...I can look at my watch and KNOW I have the right time!
    At any rate, that's how I know my Mac's clock is out a few seconds...I just check it to my watch.
    The real reason I would like to be able to schedule this function (or, at least have it occur more often) is so my Palm TX gets the correct time from my Mac each morning. I automatically sync it to my Mac every morning, and one of the conduits actually synchronizes the Palm clock to the one on my Mac.
    I'm just curious to find out when exactly Mac OS X sets the clock. Does it happen once a day? Once a week? I haven't had my Mac for all that long, so I do not know what will happen when we go off DST this spring. Will OS X (based on the date) just bump up its clock by one hour, or will it actually get the correct time from Apple's time server and sync the Mac clock to it?
    And, if there's no way the change when this happens or the frequency with which it occurs, is there anyone out there who has written a utility which can do this?
    What about Automator? I'm new to the Mac world, so I am just learning about all this stuff. When I open the Date and Time System Preferences, the clock seems to sync up at that point. Could I use Automator to do this?
    As always, any help would be most appreciated.
    Thanks again for your reply, Barry!

  • How to automatically update date and time on Numbers spreadsheet

    Would like to have printed version of Numbers spreadsheet reflect present date and time.  I know how to do this in Excel, but can't figure out how to get there in Numbers.

    Add the date and time to the Header or Footer in the Print Dialog via the Insert menu.
    It is only semi-automatic, in that to update the date and time, you must either delete and reinsert the date and time, or you must open the token and update by clicking the Set to Today button.
    Jerry

  • Can't remotely connect to my server if I automatically set date and time

    Hello.
    I have configured my OS X 10.6.2 server and am able to remotely manage it.
    The only ports I have opened on my router is for Mail and VPN services.
    Things work perfectly because I can connect using VPN to iChat, iCal, Address Book, Server Admin, Workgroup Manager, AFP, FTP and such.
    The problem is that on my laptop from home, or wherever, if its time is set to update automatically from an NTP server (I have tried with Apple's as well as my server for the NTP Servers) then I cannot connect to my server at all...
    The moment I turn off the auto date and time and reconnect to the office's VPN, I am able to use Server Admin, AFP, FTP, Workgroup Manager, Screen Sharing, etc, etc, etc.
    It's utterly frustrating because I have to open system preferences, disable the automatic date and time update, connect to the VPN and do stuff on the server. Then I have to disconnect from VPN and re enable the auto date and time.
    Could someone explain why this is happening and any possible solutions I might be able to try?
    Thanks in advance,
    Felipe.

    OK, after some testing things seem to be working now.
    I opened the NTP port for my server (So I don't have to be on VPN to update the time)....But regardless of that, Server admin and my corporate site work fine.
    Here is my problem, I don't understand why it's working now when 30 minutes ago I was having trouble connecting to my server regardless of what NTP Server I used.
    The only service I can't access is Workgroup Manager, but I don't know if that is supposed to be accessible only locally (though it doesn't matter since I can screen share but I would still like to know).
    Thanks in advance,
    Felipe.

  • Ipad will not automatically set date and time

    My ipad drained and when I recharged it the date read 31 Dec 1970.  Now it will not automatically connect and update the date and time, and cannot connect to itunes.  I can recieve emails on this device but I can's send emails.  So it must have some kind of connectivity...would appreciate any comments or help.  Very frustrated.

    Try resetting it.  Hold the on/off and home buttons together for about 10 seconds till the Apple logo appears.

  • Automatically displaying date and time in a date/time field on form initialize

    Good day all;
    I am trying to have the current date and time automatically be generated in a “date/time” field when the form is opened.
    I went through the forum and found an entry from Srini “ xfa.host.messageBox("" + Date());” . Of course this brought up a system message box with the date and time.
    I then tried “DateTimeField1.rawValue = (“”+date())… This also gave me a system message box with the date and time…
    Please let me know where I am going wrong
    Chomp

    Found the answer... And yes... in was in the "help" section... What can I say I was making it a lot more crazy than I needed to.
    You can use a date/time field to automatically show the current date by using the Runtime Property option in the Value tab of the Object palette.
    When using a current date field, the date updates to reflect the system’s current date each time a user opens the form.
    1.
    In the Library palette, click the Standard category and drag a Date/Time Field object onto the form design.
    2.
    In the Object palette, click the Value tab and select Calculated - Read Only from the Type list.
    3.
    Select the Runtime Property option.
    4.
    View the form in the Preview PDF tab.

  • Created date and time

    Hi experts,
                      How can i view the created Time & date of a sales order and its invoice.And also the changed time and date.
    Many Thanks In advance.
    Abhishek

    Hi,
    Goto the T.Code "SE11/SE16".
    Enter the table name as "VBAK".
    Enter your sales order number into the field "VBELN" and then Execute.
    Get the Created date from the field "ERDAT" and time from the field "ERZET".
    Next for getting the creation date and time for Billing document,goto the table "VBRK".
    Pass the billing document number.Execute.
    Get the Created date from the field "ERDAT" and time from the field "ERZET".
    For getting the changed details,there are different ways.
    One such easiest way is goto the T.Code "VA03",Enter your order number.
    Click on Environment-->Changes.
    Select "Overview" and "Additional Info".
    Execute.
    Select your entry and click on choose.
    Here you will get the date and time.
    The similar thing is for billing document changes also use teh T.Code "VF03".
    Or one more way is pass the Order number preceeded by two 0's into the field "Object Id" in the table "CDPOS" and then execute.
    Get teh Changenr.
    Pass the same to "CDHDR" table to get the UDATE and UTIME.
    Regards,
    Krishna.

  • Job created date and time.

    hi,
    I am created the job with single step of program.
    my problem is, i am passing the job DATE and TIME to select query in the program.
    when ever job is execute ,what ever records in the table it is retrived,sometime job abends ,we restart the job,it is retrive the records from the last date and time.
    but it is not happening now ,can you help me.
    for the following query.
    select aufnr from z<table> where created_date = SDLDATE
                                                    created_time = SDLtime.

    Hi,
    perhaps, your query is not correct? It should be
    SELECT ... INTO <work area>
       Please reward points if useful.
                 Kind regards, Marina

  • I have an apple tv that wont stream video and wont automatically set date and time

    Would like help setting up apple tv
    I can stream netlix with no issue with my  iPad and on both a notebook PC and desktop
    The apple TV says its connnected to the internet when I check internet settings however it will not set the date and time upon initial power up and I cannot view any internet content

    This sounds like a port issue. Somebody (possibly wjosten) posted a list of ports that need to be open in order for the ATV to work correctly.
    Check your router set up and see if there are any services that are open for your iPad but blocked for the ATV

  • Fetch Vendor block/unblock date and time information in Transaction XK05

    Hi ,
    When user blocked to vendor using transaction XK05,This data stored in the table CDHDR (bloked Date and time).
    My quostion is how will we fetch the bloked DATE and TIME from CDHDR table( i mean which condition i need to fetch).
    This table have the blow key fileds .
    1)  OBJECTCLAS       Object class
    2)  OBJECTID             Object value
    3)  CHANGENR          Document change number 
    Could you please help us to resolve this.. << Please do not offer rewards >>
    Thanks
    Satya.
    Edited by: Rob Burbank on Jun 24, 2010 10:44 AM

    In Development, repeat the block process, then go find what you just put into table CDHDR with SE11 or 16...a little innovation and initiative often allows one to discover precisely what is needed, if you'll pardon an admonition from an old programmer )

  • Automatically set date and time in PDF file

    Good Day to all
    I use LiveCycle to create a PDF template so my users can fill up reports with out printing, the problem is the "time/date" field changes every time the supervisor open the file, so there is no way to track the date the report was created.
    I'm looking for a way (any trick) to make the automatically set but only when I save the document instead when I open it, I hope I'm explaining myself.
    Or maybe I just need to use another software, if you can recomend me one, or a trial just to be sure is the one I need.
    Any help would be great!!!...
    Thanks!!!

    You probably might have placed the code to populate the Data/ time value on the initialize event. Before you assign the current system date, check if the field has a value already. If it has then do not assign a new value.
    Thanks
    Srini

Maybe you are looking for

  • RH8 HTML suddently generating truncated CHMs

    I typically compile a new.chm file for my project once or twice a week. Yesterday, the chm I generated  came in at 1975 kb. The previous one, created three days earlier for the same project, was 47,489 KB. RH displays no error messages and does not c

  • Logic keeps crashing and giving me this

    I just updated to snow leopard and i don't know if thats the cause i also had my graphics card switched out, maybe something wasnt put back right?? Process: Logic Pro [389] Path: /Applications/Logic Pro 8/Logic Pro.app/Contents/MacOS/Logic Pro Identi

  • Order number, order type combination is unique.

    Dear All, I am getting the following error, while creating a Sales Order: Order number, order type combination is unique. Order number generated by the sequence for this order type already exists. Please contact your System Administrator. Is this a p

  • FF805 Tax statement item missing for tax code O0

    Hi Gurus, We are working in Upgrade project 4.6C to ECC 6. We are getting an error when releasing billing document  to accounting in ECC 6 sytem. Error:  FF805 Tax statement item missing for tax code O0 No tax item exists for tax code O0 in a G/L acc

  • Material description limitation on accept only English language

    Dear All, Is there any user exit / program which not allow user create material with Non English description in MM01? But we still need unicode support for system. we are facing export  material problem with external system out from company. thanks.