Rename files to the date & time?

I am not sure if this is possible but...
When a file is added to a particular folder, I need this file to be renamed. Either to the current time, creation time, or preferrably to the exif data (they are digital images).
Does anyone have any suggestions? Thanks, in advance.
Craig

Very ambitious!
Here are ideas you may want to consider for your project:
http://mthamilton.ucolick.org/hamcam/
http://mthamilton.ucolick.org/hamcam/dailyStills/cam2/
http://mthamilton.ucolick.org/hamcam/dailyMovies/cam2/HC2_daily.mpg
I use hamcam everyday for my daily bicycle ride-weather station.
Perhaps, you want to limit daily still to 08:00AM-06:00PM and also have a daily time lapse, you can use Quicktime to do the time lapse footage.

Similar Messages

  • Copying/renaming a file w/a date/time stamp

    Java virgin here.....
    I am sure there is a post out here on this subject somewhere...
    I am trying to rename a file using the date and time EG: MYFILE05031223.txt
    Where 0503 is the date and 1223 is the time.
    Thanks....

    Thanks so much for your help...but seeing how I am a fullfledged newbie
    perhaps you can assist as to why this code will not compile...
    import java.io.*;
    import java.util.*;
    public class rename{ 
         public static boolean renameFile(File f) {                                                  
    DateFormat df = new SimpleDateFormat("MMddHHmm");
         String timestamp = df.format(Calendar.getInstance().getTime());     
         return f.renameTo(new File("Barcoden" + timestamp + ".txt")); }
    I am getting the following error msg's....
    C:\jdk1.3.1_08\bin>javac c:\JavaCode\rename.java
    c:\JavaCode\rename.java:17: cannot resolve symbol
    symbol : class DateFormat
    location: class rename
    DateFormat df = new SimpleDateFormat("MMddHHmm");
    ^
    c:\JavaCode\rename.java:17: cannot resolve symbol
    symbol : class SimpleDateFormat
    location: class rename
    DateFormat df = new SimpleDateFormat("MMddHHmm");
    ^
    2 errors

  • How do you vary the Date/Time stamp format in File Adapters

    In the receiver channel of the File Adapter where you specify the 'File Name Scheme', you do have the option of specifying a 'File Construction Mode' of 'Add Time Stamp'.  How can you specify a different Date/Time stamp format ( eg MM/DD/YY vs YYYYMMDD vs MMDDYY, etc. ) without changing the Date/Time stamp for the entire SAP system?  Also, can you control where the Date/Time stamp appears in the filename?

    Hi,
    There are many threads discussing the same issue. Go thro the following:
    Dynamic file name (Date) in Receiver File Adapter
    Receiver File Adapter - TimeStamp
    Bhavesh's reply in above thread:
    You can use Adapter Specific Identifiers and then change the file name in the mapping. Append the tiem stamp in the format that you want and so on.
    Just use this code in an UDF,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    String newfilename=SourceFileName+dateformat;
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards,
    P.Venkat

  • Using the regex to match the file name with date time

    Hello all,
    currently I had problem to match the following file name with the date time. Of course I can use this regex like ""(\\\\w+|.+).(zip)" to match it. However in the current application i need to parse the file name and get the current date time to check if it is matched. Does anyone have good idea?
    {code}
    testfile10-08-09-2008-08-21-04-24-0443.zip
    testfile11-08-09-2008-08-22-04-24-0441.zip
    {code}
    thanks in advanced!

    lauehuang wrote:
    Hello all,
    currently I had problem to match the following file name with the date time. Of course I can use this regex like ""(\\\\w+|.+).(zip)" to match it.That regex doesn't make a lot of sense:
    - with "\\\\w" you probably meant "\\w";
    - "\\w+|.+" doesn't make sense: you can simply do ".+" in that case;
    - ".(zip)" will also match the string "%zip" or "Ezip".
    However in the current application i need to parse the file name and get the current date time to check if it is matched. I don't know what you mean by that.

  • Save the file and give date & time stamp

    1. Reading the Excel file from the selection screen as a parameter.
    2. Using F.M. ALSM_EXCEL_TO_INTERNAL_TABLE reading Excel file into
        Internal table.
    3. Implementing the Business Logic.
    4. Move output to Final Internal table.
    5. Final internal table should generate a Flat file. By using GUI_DOWNLOAD.
    6. That flat file should be saved with the name and location given in the Excel.
    7. When ever I run the program output file will generate in the same location but with date and time stamp. Because I’m running the program for range of employees say initially I run for 1 – 10,000 employees next 10,001- 20,000 like that.
    Whenever I run for 2nd time it will overwrite the previous output, that’s the reason I’m using date and time stamp.
    Eg:
    PERSONAL Numbers              Name                                         Location
    00000001                 xxxxx-24.04.2007-10.30          C:\        
    00000002                 xxxxx-24.04.2007-10.35
    00000003                 xxxxx-25.04.2007-10.40
    00000004                                  xxxxx-25.04.2007-10.30
    Can any one help me how to save the file and give date & time stamp through hardcode?
    please help me in this issue.

    I am not clear with your problem. Based on the understanding of your question,
    there  can be two cases.
    1- U want to insert time stamp in the output file.
    2- Time stamp is already there, u just have to solve the overwriting issue.
    If your question goes with option 2, You can make use of import parameters
    <b>CONFIRM_OVERWRITE</b> : Which will ask for confirmation before overwriting.
    <b>APPEND</b> : which you can choose either to append the data to the existing file or overwrite it.
    Please inform if the issue is not resolved.
    Message was edited by:
            BINU RAJ BINU

  • Hardcoding/superimposing the date/time-of-day on to video file?

    Hello,
    I've been working with a Panasonic AVHCD HDC-TM900 camera for a while and I need the date/time to display on my video files when I edit them in the source monitor and to display in the final product.  There is no way to do this on the camera itself (according to Panasonic tech support), however I have found that VLC/Media Player Classic are able to display the information during playback.  I think that it's using the subtitle track to pull the information out of the file, as it appears when I enable subtitles in VLC so I know the info is there.. Is there a tool in Premiere which would allow me to incorporate this information on to my project without having to spit out another file?  Worst case scenario, I would also be open to a solution using Media Encoder as I use it for footage from other cameras but would like to avoid that if possible..
    Thank you in advance for your suggestions,
    AY9999

    I'm not sure if this works for AVCHD, but I know it does for DV: DVdate x64 for Adobe Premiere CS5
    Also, if the above doesn't work for AVCHD directly in Pr, you might look at this: Visual AVCHD Time Stamp

  • How to upload multiple .CSV files in the same time.

    Hi Legends,
    Can anyone please help me to resolve my issue?
    This is very urgent and critical.
    Description:
    We have two users.1)edw_user_dump
    2)prd_udm.
    We need to upload the xx.csv file at the same time for these two users in oracle forms.
    we have differentiated .csv file name based on the user names.
    the main problem is in the sql loader command the xx.csv file name is created but the data is not captured in the server (kentucky) .
    Below is my code for the upload.
    -- To delete the Part_Mast.log file from the client
    DECLARE
    pid WEBUTIL_HOST.PROCESS_ID;
    v_result PLS_INTEGER;
    v_username varchar2(30) := GET_APPLICATION_PROPERTY(USERNAME);
    BEGIN
    v_result := WEBUTIL_HOST.Get_return_Code(pid ) ;
    host('cat /dev/null > /tmp/'||v_username||'_'||'EDW_CF_IO_UPLOAD.log');
    host('cat /dev/null > /tmp/'||v_username||'_'||'"CF615 IO Upload.csv"');
    END;
    DECLARE
    l_success boolean:=FALSE;
    l_bare_filename varchar2(100):=NULL;
    v_username varchar2(30) := GET_APPLICATION_PROPERTY(USERNAME);
    BEGIN
    -- Delete the content of the log and bad file
    host('cat /dev/null > /tmp/'||v_username||'_'||'EDW_CF_IO_UPLOAD.log');
    --host('cat /dev/null > /tmp/Part_Mast.bad');
    -- Upload the data file to Application Server
    l_bare_filename := v_username||'_'||substr(:FIC_SOURCE,instr(:FIC_SOURCE,'\',-1)+1);
    l_success := webutil_file_transfer.Client_To_AS_with_progress
    (clientFile => :FIC_SOURCE
    ,serverFile => '/tmp/'||l_bare_filename
    ,progressTitle => 'Upload to Application Server in progress'
    ,progressSubTitle => 'Please wait'
    ,asynchronous => false
    ,callbackTrigger => null
    IF l_success THEN
    NULL;
    ELSE
    null;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE Form_Trigger_Failure;
    END;
    DECLARE
    v_username varchar2(30) := GET_APPLICATION_PROPERTY(USERNAME);
    begin
    host('cat /dev/null > /tmp/'||v_username||'_'||'EDW_CF_IO_UPLOAD.log');
    host('cat /dev/null > /tmp/EDW_CF_IO_UPLOAD.bad');
    end;
    BEGIN
    DECLARE
    v_username varchar2(30) := GET_APPLICATION_PROPERTY(USERNAME);
    v_password varchar2(30) := GET_APPLICATION_PROPERTY(PASSWORD);
    v_connect_string varchar2(30) := GET_APPLICATION_PROPERTY(CONNECT_STRING);
    a_host varchar2(500);
    BEGIN
    a_host :='/tmp/'||v_username||'_'||'"CF615 IO Upload.csv"';
    host('sqlldr '||v_username||'/'||v_password||'@'||v_connect_string||' '|| 'control=/home/edw_bis/ctl/GLB_CF_IO_UPLOAD.CTL'||' '|| 'DATA=a_host'||' '|| 'LOG=/tmp/'||v_username||'_'||'EDW_CF_IO_UPLOAD.log SKIP=1 errors=200000 DIRECT=FALSE');
    dbms_output.put_line(a_host);
    END;
    DECLARE
    v_username varchar2(30) := GET_APPLICATION_PROPERTY(USERNAME);
    begin
    host('cat /dev/null > /tmp/'||v_username||'_'||'"CF615 IO Upload.csv"');
    EXCEPTION
    WHEN OTHERS THEN
    RAISE Form_Trigger_Failure;
    END;
    end;
    DECLARE
    al_id3 ALERT;
    al_button Number;
    BEGIN
    edw_user_dump.SANM_PRC_MERGE_CF_IO_UPLOAD(:global.v_plsql_res,:global.v_ins_rec,:global.v_upd_rec);
    IF NVL(:global.v_plsql_res,0) = 0 and (:global.v_ins_rec !=0 OR :global.v_upd_rec != 0 ) then
    al_id3 :=FIND_ALERT('ROWINS');
    SET_ALERT_PROPERTY(al_id3,alert_message_text,' Process Completed Successfully!'||CHR(10)||' Rows Inserted : '||:global.v_ins_rec ||CHR(10)||' Rows Updated : '||:global.v_upd_rec);
    al_button := SHOW_ALERT( al_id3 );
    ELSIF (:global.v_plsql_res IN(-1,0) or :global.v_plsql_res > 0) and (:global.v_ins_rec =0 and :global.v_upd_rec = 0 and :global.v_del_rec =0 ) then
    al_id3 :=FIND_ALERT('ROWINS');
    SET_ALERT_PROPERTY(al_id3,alert_message_text,' Process Failed. Please Download the Log File '||CHR(10)||' Rows Failed : '||:global.v_plsql_res||CHR(10)||' Rows Inserted : '||:global.v_ins_rec ||CHR(10)||' Rows Updated : '||:global.v_upd_rec);
    al_button := SHOW_ALERT( al_id3 );
    ELSE
    al_id3 :=FIND_ALERT('ROWINS');
    SET_ALERT_PROPERTY(al_id3,alert_message_text,'Please Download the Log File '||CHR(10)||' Rows Failed : '||:global.v_plsql_res||CHR(10)||' Rows Inserted : '||:global.v_ins_rec ||CHR(10)||' Rows Updated : '||:global.v_upd_rec );
    al_button := SHOW_ALERT( al_id3 );
    END IF;
    EXCEPTION WHEN OTHERS THEN
    RAISE Form_Trigger_Failure;
    END;
    DECLARE
    v_username varchar2(30) := GET_APPLICATION_PROPERTY(USERNAME);
    begin
    host('cat /dev/null > /tmp/'||v_username||'_'||'"CF615 IO Upload.csv"');
    host('rm -rf /tmp/'||v_username||'_'||'"CF615 IO Upload.csv"');
    end;
    Thanks in advance!
    Thanks,
    Madhusudhanan

    Madhusudhanan,
    A couple of observations. First; always list your exact Forms version (eg; 10.1.2.0.2 not 10g R2). In most cases, the solution is different depending on the Forms version. Second; why must you use Forms to kick off a SQL Loader process? This is a server-side process and should be initiated by a server side process. If you absolutely must use Forms to kick off the process, again we need your Forms version in order to offer any solutions. Based on your code sample, I can asusme you are at least using Forms 9i becuase you are using WebUtil.
    Is your Database and Application Server the same physical computer? If they are not, this would explain why your HOST command isn't working because HOST runs against the Application Server not the Database server.
    Third; have you considered using and External Table (if your RDBMS version supports them) for each of the files you are attempting to upload? In this instance, it would be helpful to know your RDBMS version as well. External Tables can be a little frustrating to set up the first time, but as with any new construct you use - it gets easier the more you use it.
    Fourth; are you getting any errors in your log file(s)? If so, what are the errors? Please list the full error message if you have one.
    Finally, with respects to your statement:
    Posted: Mar 18, 2011 2:30 PM - Madhu This is very urgent and critical.>
    You have to understand that forum contributers are all volunteers - this is not our full-time job. If your issue is truely urgent I suggest you open a Service Request (SR) with Oracle Support! ;-)
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Can we load and unload the files in the run time?

    Can we load and unload the files in the run time?
    For example there are four files named "test1.h & test1.c" and another set "test2.h & test2.c" (I attached them as attachment to this post).
    test1.h contains code:
    int variable; //variable declared as integer
    test1.c contains code:
    variable = 1; //variable assigned a value
    test1.h contains code:
    char *variable; //variable declared as string
    test1.c contains code:
    variable = "EXAMPLE"; //variable assigned a string
    So here, in this case can I dynamically load / unload the first & second group of files so that the same variable name "variable" can be used both as integer and string? And if yes, how is that to be done?
    Solved!
    Go to Solution.
    Attachments:
    test.zip ‏1 KB

    What do you mean by "dynamically"?
    If you want to have a variable that either is an int or a char in the same program run, I'm afraid your only option is to define it as a variant and assign from time to time the proper data type in the variant according to some condition. Next, every time you access the variable you must firstly check which data type is stored in it, next access it in the proper way.
    If on the other hand your option or to have a run in which the variable is an int, next you stop the program and in a following run it is a char, you may have it by using some appropriade preprocessor clause:
    #ifdef  CHAR_TYPE
    #include "test1.h";        // variable defined as a char
    #else
    #include "test2.h";        // variable defined as int
    #endif
    Next, every time you want to access the variable you must proceed in the same vay:
    #ifdef  CHAR_TYPE
      variable = "string";
    #else
      variable = 1;
    #endif
    Does it worth the effort?
    Additionally, keep in mind that this "dynamical" approach can work only in the IDE, where you can properly #define your CHAR_TYPE or not depending on your wishes: when you compile the program, it will have only one #include depending on the definition of the macro.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to make the active save-to-file with the data from GPIB ?

    Hello,,everybody !!
    I want to make the active save-to-file with the data from GPIB since starting the measurement. To save-to-file at the end of measurment is somehow risky for losing the data because my measurment have to take for long time (eg. 24-48 hours).
    Thank you in advance for anybody's help !!

    Thanks Dennis,
    I have already append, I got it but still have one small problem that between each line it has the blank line. Example as below ,
    16:40:33 54.24
    16:40:34 54.23
    16:40:35 54.24
    I want to get rid of the blank line in between.. Do you have the idea about it ?

  • Save as PDF and AI file at the same time?

    Hey everyone,
    I was wondering if it's possible to save an AI file as both an AI file & PDF file at the same time??
    Where i work, we always need to save an AI file and a PDF file. So is there a way I can set up my Illustrator so everytime i save something, it'll  save the AI file and automatically create the PDF too? ..
    Or is there no way around .... Save as: Illustrator file.  /   Save as: PDF file in two separate actions?...
    Any help would be greatly appreciated.
    Thanks!
    Jay

    I was wondering if it's possible to save an AI file as both an AI file & PDF file at the same time??
    Where i work, we always need to save an AI file and a PDF file. So is there a way I can set up my Illustrator so everytime i save something, it'll  save the AI file and automatically create the PDF too? .
    No, it is not possible in the base product.
    (I guess it is probably doable with scripting, I'll defer to others on that.)
    But can you stop and tell us why you want to do this?
    AI files with "Preserve PDF Compatibility" and PDF files with "Preserve Illustrator Editing Capabilities" are functionally equivalent. Both of which are the default. In both cases, the file contains a PDF portion that is visible to PDF viewers, and an Illustrator private data section that is used by Illustrator. Two entirely complete versions of the information that can stand on their own appear in both file types.
    While I realize the requirement may be beyond your control, it would still be good to understand it's origin.

  • How do I change the date/time of a dll created in LabVIEW without killing it

    I use the LabVIEW (6.0.2 of course) Application builder to create a dll, and I cannot enter creation information, nor can I modify the date time property, which labVIEW does not properly set. I have tried to modify this information in Visual C++, but that destroys the dll because it wasn't compiled in VC++, and therefore isn't compatible.
    If anyone knows how to correctly modify the date/time (and the checksum) without destroying the dll, I would be gratefull to know.
    Thank you

    Dear Sir,
    I was browsing through MSDN in trying to find the info you are looking for and I step into this next file:
    "Peering Inside the PE: A Tour of the Win32 Portable Executable File Format"
    Which you can locate in the msdn.microsoft.com page by going to the search box and typing that title. The first result is that document. Also you may want to check the "imagehlp" file of the msdn library. This documents provides information on the DLL standard and functions.
    Good luck!...
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • Is there a solution to the data/time camera metadata problem?

    After a lot of testing I've nailed down a serious flaw with Lightroom, and I'm wondering if people have any sort of solution, either from within Lightroom or externally.
    When Lightroom is used to export JPEGs, the exported files have the correct Image EXIF data stamped in the Date/Time Original and Date/Time Digitized fields - it matches the date/time of the RAW file, which is exactly what you'd want and expect.
    What it doesn't set correctly though is the JPEG file Created, and file Modified dates - they are set as the date/time the JPEG export was done from Lightroom. There are many applications that sort based on the last modified date of the JPEG, and it's illogical that Lightroom wouldn't have the JPEG file metadata match up with the EXIF data. I can't think of a single scenario where you'd want to have two different time/data stamps in the image that you just exported.
    Using ACDSee I can batch change the JPEG file Created and file Modified dates to match the EXIF data. It's an added step I shouldn't have to do, but I can do it. What I *can't* change in batch mode with ACDSee is the Camera Date/Time time - which, you guessed it, is stamped with the time that the JPEG was *created* during the export, not the time that the camera was set for when the RAW file was captured, which is what it SHOULD be set to. It should be stamped with the EXIF date/time original data. I think I already know the answer to this, but is there any setting in Lightroom that addresses this issue?
    I've seen others recommend EXIFtool but using a command line tool isn't what I consider a reasonable suggestion. Are there any other tools that might help me here?

    Jason -
    <br />
    <br />You mentioned that the CreateDate wasn't set correctly in your files. For my JPGs exported from LR, based on Canon CRW raws, the CreateDate does match the DateTimeOriginal. ExifTool is reasonable enough for me; here is a sample output of ALL the date/time related fields in one of my exported JPGs.
    <br />
    <br />
    <span style='font-size:10.0pt;font-family:Courier'>[File] File Modification Date/Time : 2007:07:28 11:25:31
    <br />
    <br /> [EXIF] Create Date :
    <span style='mso-spacerun:yes'>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#16 0;&#160;&#160;&#160;&#160;&#160;</span>2007:07:21 15:29:14
    <br />
    <br /> [XMP]
    <span style='mso-spacerun:yes'>&#160;</span>Date/Time Original :
    <span br="" /></span>style='mso-spacerun:yes'&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#16 0;</span>2007:07:21 15:29:14-05:00
    <br />
    <br />[XMP]
    <span style='mso-spacerun:yes'>&#160;</span>Date/Time Digitized :
    <span br="" /></span>style='mso-spacerun:yes'&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;2007 :07:21 15:29:14-05:00
    <br />
    <br />[XMP]
    <span style='mso-spacerun:yes'>&#160;</span>Modify Date :
    <span br="" /></span>style='mso-spacerun:yes'&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#16 0;&#160;&#160;&#160;&#160;&#160;&#160;&#160;2007:07:28 11:25:30-05:00
    <br />
    <br />[XMP]
    <span style='mso-spacerun:yes'>&#160;</span>Metadata Date :
    <span br="" /></span>style='mso-spacerun:yes'&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#16 0;&#160;&#160;&#160;&#160;&#160;2007:07:27 14:35:04.062-05:00
    <br />
    <br />
    <br />
    <br />As discussed by other posters, I agree that the ModifyDate needs to reflect the most recent activity on this particular file, and is not related to the original capture time.
    <br />
    <br />Gary

  • Why can´t i change language inside PsCC from Danish to English? Instead of going into Program:Adobe. Locales: rename file from .tw10428.dat into tw10428.bat file??

    Why can´t i change language inside PsCC from Danish to English? Instead of going into Program:Adobe. Locales: rename file from .tw10428.dat into tw10428.bat file??

    Creative Cloud Help / Adjust the install language | Creative Cloud applications | CCM -
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html

  • Why does the date/time scale info vary with the timezone of the machine running the browser?

    I have a system monitoring application (Uptime) that displays graphs with time/date data. The times displayed on a given set of data vary depending on where the browser is located.
    For example the site is hosted on a server in the US running on EDT. I select data for a period say midnight to 6am EDT. If I display that on a Firefox client also running on EDT the timescale shows 00:00 to 06:00. If I display that same data on a browser on a desktop in London it shows a timescale of 05:00 to 11:00.

    There are two different issues going on for shaolex.
    1) Bug in iMovie 9.0.6+ which will add or substract your GMT time to the original time the video was shot.
    2) The way iPhones save the date and time to the file. iPhone video files have the date and time the video was FINISHED instead of when it STARTED. The right aproach to fix this is to import the video to iPhoto and then drag and drop the clip into a iMovie event, then right click the clip in the Event window, then click CHANGE DATE AND TIME, and substract the lenght of the video from the time shown.
    i.e.   The video is 00:45:00 long, iMovie shows it as taken at 10:45:00. Change it to 10:00:00
    Other phones do the same but most of them write the date and time correctly on the filename.
    Hope this helps

  • Batch file - how to Date & Time Format as January 6, 2014 - 8:54 PM Eastern

    Batch file - how to Date & Time Format as January 6, 2014 - 8:54 PM Eastern

    Hi Dhiravia,
    If you want to convert the month format, please refer to the batch script below:
    SET Month=%DATE:~4,2%
     if %Month%==01 set Month=JAN
     if %Month%==02 set Month=FEB
     if %Month%==03 set Month=MAR
     if %Month%==04 set Month=APR
     if %Month%==05 set Month=MAY
     if %Month%==06 set Month=JUN
     if %Month%==07 set Month=JUL
     if %Month%==08 set Month=AUG
     if %Month%==09 set Month=SEP
     if %Month%==10 set Month=OCT
     if %Month%==11 set Month=NOV
     if %Month%==12 set Month=DEC
     echo %Month%
    To convert the date format via cmd, please also check this article:
    http://myblog4fun.com/archive/2012/01/06/getting-the-current-date-and-time-from-bat-files.aspx
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Month End Payment Batch

    Greetings to All, In AP, we are looking for concurrent request called: Month End Payment Batch, which is supposed to find any eligible payments to be created. We are using 11.5.10.2 and can not find this process. We have checked ML and can not find a

  • MacBook Pro with Snow Leopard and an iPad 2

    My MBP doesn't really communicate with iCloud. How can I get my Mac Mail mailboxes to my iPad? I have an iCloud Mobile Me IMAP account that comes to my MBP. But the mailboxes that I create on the computer are not synched to the iPad. I started this d

  • Retrieve source code of method

    Dear fellow ABAPers How to retrieve the source code of method (BADI) using READ REPORT... where does it is stored and of what type / category. Regards Prabumanoharan

  • Question How to switch between tabs automatically? for example every 30 seconds

    Question How to switch between tabs automatically? for example every 30 seconds

  • Variable restriction combination

    Hi, i have selection done by variable (manual inputs) but i need to set up a dependance between variables input. i have the main variable (A) which is an attribut of variable 2 (B) and B is an attribute of variable (C) I bps i created a characteristi