Formatting Dates - Please Help!!!

Hello to all you Java Gurus,
Just to give u a little background into my problem, i am a co owner of a company and have a large customer database (dunno why but the database is in excel at the minute), however the lady who inputs new customers has entered the wrong date format for the last few months so as you can imagine there are too many dates to go through individually and change to the correct format. Your probably thinking why don't i just highlight the dates - format cells and put it into the correct date format but don't worry i have tried that and it doesn't work, i was told about the powers of java being able to help me here and that this forum was very helpful so i have read some books and attempted to write some code in order to change the dates from this format 03 08 04 to 03-Aug-04 (dd-MMM-YY) but it doesnt really work - AT ALL, hehe!!
IS it possible if someone has code to do this or knows how to do this if they could help me, i will give the person who can solve what is probably an easy problem for you guys all my 25 dukes as i will probably never need to use Java or the forum again anyway
Thanks a lot, hope you can help asap
Paul

What is utterly opaque to me is exactly
what you are suspicious of.Come on now, like we haven't seen this
posting-behaviour before...? To be honest, the first
glance
here gave me the impression you wanted to get some
easy dukes.
OK. But you did the sensible thing and ignored the thread, whereas warneja wanted to make himself known as the super-sleuth or upholder of morality he clearly believes himself to be, and responded. In so doing he failed to consider the following possibilities:
1. It may just have been a real question and answer
2. I might have bought a house that needs renovation a couple of months ago, hence my absence from the forums
3. I might get bored with the idiots on the forum after a while a not visit for a couple of months until some terrible fascination draws me back
4. I might have a real job that pays me real money and takes up a lot of time
5. I might not actually give a hoot about Dukes
6. I might have a hobby, such as music composition, that takes up a great deal of my spare time and has engaged me more than the forums have recently
7. If I was going to engage in the dreadful crime I stand accused of, I might actually have asked a question about Java rather than Excel, given that it would take less imagination and would not be out of place in a Java forum
In short, I might actually have a life and not be a pathetic, small minded donkey whose greatest ambition is to earn Dukes and gain the respect of my fellow Equus Asini.
Regards,
Lance

Similar Messages

  • My pages is showing error while opening a document in microsoft word format. Please help

    While trying to open documents in microsoft word format, pages is showing an error. It is unable to complete the task and is requesting me to reopen pages but then no response. However I am able to work on pages format. Please help.
    thanks

    When you open a Word document in Pages, it is translated into the internal .pages document format — and you are no longer working in the original Word document format. This translation also occurs in reverse when exporting a document back to Word. When you open a Word document in Pages, if it has issues with the translation (missing font characteristics, other issues), it will open a warning dialog box and display these issues for you.
    If however, you prefer to always work in the native Word document format, and not risk translation issues, then you should be using MS Word in Office for Mac 2011 with the latest update.

  • My ipod touch is in DFU mode 5g I need help, do not want to lose my data, please help in Spanish

    I need help, do not want to lose my data, PLEASE HELP IN SPANISH

    Una vez que el dispositivo está pidiendo ser restaurado con iTunes ... ya es demasiado tarde para salvar nada ... y usted debe continuar con la recuperación de ...
    Vea aquí> http://support.apple.com/kb/HT1808
    Es posible que tenga que probar más de una vez ... Asegúrese de seguir todos los pasos ...
    Tómese su tiempo ... Preste especial atención a los pasos 3 y 4.
    Para minimizar la pérdida ...
    Después de haber recuperado su dispositivo ...
    Re-sincronizar su contenido o restauración de la última copia de seguridad ...
    Restaurar desde copia de seguridad> http://support.apple.com/kb/ht1766
    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    To minimise loss...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • I was updating software and suddenly my IPHONE  started asking for I tunes on mobile screen ,  how can  i  get by screen back or How i can restore without loosing data , I m more worried about data , Please help in resolutio

    i was updating software and suddenly my IPHONE  started asking for I tunes on mobile screen ,  how can  i  get by screen back or How i can restore without loosing data , I m more worried about data , Please help in resolutio

    What exactly are you seeing on the phone's screen ? If the iTunes icon and cable then the phone is in recovery mode, in which case it's too late to take a new backup or to copy any content off the phone - you will have to connect the phone to your computer's iTunes and reset it back to factory defaults, after which you can restore to the last backup that you took or just resync your content to it

  • I am a macbook pro user form last 2 yrs, recently i upgraded to Mountain Lion from Snow leopard. Since then  operational  speed is a major concern. Now It has crashed so very badly that I am scared of my data.Please help me.

    I am a macbook pro user form last 2 yrs, recently i upgraded to Mountain Lion from Snow leopard. Since then  operational  speed is a major concern. Now It has crashed so very badly that I am scared of my data.Please help me.

    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Hi as iam changing the ical message allert date to daybefore automatically it is changing to on the date please help me, hi as iam changing the ical message allert date to daybefore automatically it is changing to on the date please help me

    hi,
    As iam changing the ical message allert date to "daybefore" automatically it is changing to "on the date"   
    please help me,

    You could simplify the decode(... into to_char(sysdate + 1,'d')
    select sysdate + level input_date,
           TRIM(TO_CHAR(SYSDATE + level,'DAY')) the_day,
           DECODE(TRIM(TO_CHAR(SYSDATE + level,'DAY')),
                  'SATURDAY',1,
                  'SUNDAY',2,
                  'MONDAY',3,
                  'TUESDAY',4,
                  'WEDNESDAY',5,
                  'THURSDAY',6,
                  'FRIDAY',7
                 ) daynumber,
           to_char(sysdate + level + 1,'d') alternative
      from dual
    INPUT_DATE
    THE_DAY
    DAYNUMBER
    ALTERNATIVE
    10/14/2013
    MONDAY
    3
    3
    10/15/2013
    TUESDAY
    4
    4
    10/16/2013
    WEDNESDAY
    5
    5
    10/17/2013
    THURSDAY
    6
    6
    10/18/2013
    FRIDAY
    7
    7
    10/19/2013
    SATURDAY
    1
    1
    10/20/2013
    SUNDAY
    2
    2
    10/21/2013
    MONDAY
    3
    3
    10/22/2013
    TUESDAY
    4
    4
    10/23/2013
    WEDNESDAY
    5
    5
    10/24/2013
    THURSDAY
    6
    6
    10/25/2013
    FRIDAY
    7
    7
    10/26/2013
    SATURDAY
    1
    1
    10/27/2013
    SUNDAY
    2
    2
    10/28/2013
    MONDAY
    3
    3
    Regards
    Etbin

  • I have iphone 5 ,i cut down bsnl 64k sim into nano and inserted it. everything is working except cellular data or 3g data, please help me

    i have iphone 5 ,i cut down bsnl 64k sim into nano and inserted it. everything is working calling & messaging except cellular data or 3g data, please help me

    Everything you need to know about the solution is written into the question you posed. Get a proper SIM.

  • How to validate date and timestamp format? Please help!

    Hi experts,
       I have a input field "receipt_date" with is of char20 type. It contains date and timestamp value like 20090429T054509.000Z
       In my ABAP code I want to validate if "receipt_date" value is in the format YYYYMMDDTHHMMSS.MMMZ. If not then display error message. How can do this validation? Is there any existing function module that does this kind of validation? Please help!
    Thanks & Regards
    Gopal

    Hi Gopal,
    Can you check whether the FM CACS_TIMESTAMP_GET_DATE is available in XApps? If yes, use this to identify a valid timestamp.
    Sample code:
        CALL FUNCTION 'CACS_TIMESTAMP_GET_DATE'
          EXPORTING
            i_timestamp = lv_stamp
          IMPORTING
            e_date      = lv_datum
            e_time      = lv_time.
    Hope this helps! Do let me know if you need anything else!!
    Cheers,
    Shailesh.
    Always provide feedback for helpful answers

  • Not able to convert string attribute to number and date please help me out

    not able to convert string attribute to number and date attribute. While using string to date conversion it shows result as failure.As I am reading from a text file. please help me out

    Hi,
    You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
    regards,
    Nick

  • I just bought a 7th gen Nano, no matter what I try, it will not let me load videos to it, I downloaded 5 off Itunes, it still tells me they wont play on my ipod, ive tried to convert them to every type of format possible, please help me

    I have tried everything I can try, I figured downloading them from Itunes they would go straight onto my Nano, but it wont let me put any of them on there, I cannot find anything anywhere on the internet, nothing, I am so furious, I have converted them to any and every possible format, and this fking thing will not load one of them, so before I finally lose it(my temper) and destroy my brand new Nano, can someone please please help me, I am generally pretty well versed in this kind of stuff, and can figure things out, but nothing I do will let me do anything, I am stuck, and this is not acceptable, and will possibly be the last time I purchase anything other then a desktop from Apple, they are not making things easier and more convienent, they are making things harder and more monotonous, can somebody please point me to what im doing, or not doing? thank youj

    In iTunes, do Store->View my AppleID
    Click "Deuthorize ALL"
    Then, on any computers you still have, do Store->Authorize this computer.  If there are less than 5, you will have no problem.
    You can only do "deauthorize all" once a year, so in the future, if you ever throw a computer away, remember do to "Store->Deauthorize this computer" first.

  • Iphone 5 will not connect to home wifi or Bluetooth after iOS 7.1.1 update! Using unnecessary data please help!

    My iphone 5 will not connect to my home wifi or Bluetooth after I completed the iOS 7.1.1 update. Before the update I was able to connect to my home network with no issues. Now it rarely finds my home network (unless I'm right in front of the router and even still the signal is weak) and when it does find my home wifi network it frequently disconnects from it. I followed previous suggestions to turn off router or forget network settings and re-establish them but it continues to happen.
    This also happening with my Bluetooth connection. My iphone 5 would automatically connect to my home phone Bluetooth prior to the iOS 7.1.1 update. But now my device no longer connects, which means my home phone no longer rings when my cell phone is ringing.
    I probably would be less worries if I did not have to monitor my data usage with Verizon. However, I do have a limited amount of data to use and I recently reached the max and had to pay extra money due to my wifi being unable to connect. Can anyone please help me with fixing this?

    If you have Applecare take it back to the shop and demand a replacement.  If not you're stuffed.  It's a bug that they've put in the software to get you to buy another iphone.  You can maybe warm it up with an hairdryer near the speaker and then turn it off and put it in the freezer for 10 mins then retstart it and wi-fi is there.  It could also be a problem with the chip, if you do the freezer thing it comes back.
    Apple knows its a problem as there are millions of people out there that it is happening to, in my opinion get shut and get a Samsung!!!!    That's what i've done and love my new Samsung S3 Mini miles better than the iphone!!!!
    Go on youtube atnd look how many millions of people this has happened to.
    Someone needs to put this in the media so they will actually do something the robbing bleeders!!!!!
    Also whatever you put on these discussions will get it wiped if Apple don't like what you put!!!!

  • Validating a date Please help

    I have a string
    String a = "29/02/2001";
    This is not a valid date. Is there any way to validte this kind of strings.
    and if I give a string like
    String a="20/02/2001";
    this shoud be validated as a valid date
    Thanks

    thanks that really worked, but one more problem
    Can i turn around the string like from 20-3-2001 to
    2001-3-20
    public DateValidation(String testStr)
         boolean error = false;
         DateFormat formatter = new SimpleDateFormat( "dd-MM-yyyy" );
         formatter.setLenient(false);
         Date date = null;
         if (testStr.length() != 0)
              try
                   date = formatter.parse(testStr);
                   SimpleDateFormat formatter1= new SimpleDateFormat ("yyyy/mm/dd");
                   formatter1.setLenient(false);
                   datestring=formatter1.format(date);
              catch (ParseException ex)
                   System.out.println("Error parsing date");
    public String getDateString()
         return this.datestring;
    this is the way i tried out
    but when I gave
    java DateValidation 30-09-2001
    2001/00/30
    this is what i got
    java DateValidation 3-02-2001
    2001/00/03
    i keep getting zeros at the month position
    Can you help
    Thanks

  • When I try to open my Adobe Illustrator CS6 a message pops up stating: Missing required plugins pdf format.aip please help

    When I try to open my Adobe Illustrator CS6 a message pops up stating: Missing required plugins pdf format.aip please help

    dahlberg,
    This is the second report about that issue today.
    I am unsure whether the suggestion in the first case will help, but you may try:
    Zusatzmodul PDF Format.aip fehlt. Was tun?

  • About format . Please help me!

    hello!
    admin!
    environment: 2 X E2900 + 2 X Brocade fc switch + 1 X SE6130
    system:solaris10U2;cluster 3.1;userd MPXIO
    Two machine hostname:one is systong ,the other is synbak.
    At synbak execute format is Normal.But at systong execute format
    #format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
    /ssm@0,0/pci@18,600000/scsi@2/sd@0,0
    1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
    /ssm@0,0/pci@18,600000/scsi@2/sd@1,0
    2. c4t600A0B800019A5CB000029014695FBE4d0 <SUN-CSM100_R_FC-0619 cyl 32958 alt 2 hd 512 sec 64>
    /scsi_vhci/ssd@g600a0b800019a5cb000029014695fbe4
    3. c4t600A0B800021EFD3000054DF4695986Bd0 <SUN-CSM100_R_FC-0619 cyl 38398 alt 2 hd 512 sec 64>
    /scsi_vhci/ssd@g600a0b800021efd3000054df4695986b
    4. c4t600A0B800021EFD3000054E74695993Dd0 <SUN-CSM100_R_FC-0619 cyl 34558 alt 2 hd 256 sec 64>
    /scsi_vhci/ssd@g600a0b800021efd3000054e74695993d
    Specify disk (enter its number): 2
    selecting c4t600A0B800019A5CB000029014695FBE4d0
    [disk formatted]
    the cursor all along glint.
    please help me!

    iostat -E
    sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: SEAGATE Product: ST314670LSUN146G Revision: 045A Serial No: 0615444GVC
    Size: 146.80GB <146800115712 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: SEAGATE Product: ST314670LSUN146G Revision: 045A Serial No: 0615445XEA
    Size: 146.80GB <146800115712 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    sd5 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
    Vendor: TOSHIBA Product: ODD-DVD SD-C2732 Revision: 1055 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 1 Predictive Failure Analysis: 0
    ssd23 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
    Vendor: SUN Product: CSM100_R_FC Revision: 0619 Serial No:
    Size: 289.90GB <289901903872 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    ssd24 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
    Vendor: SUN Product: CSM100_R_FC Revision: 0619 Serial No:
    Size: 552.98GB <552977039360 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    ssd25 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
    Vendor: SUN Product: CSM100_R_FC Revision: 0619 Serial No:
    Size: 644.23GB <644228317184 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    st4 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HP Product: Ultrium 3-SCSI Revision: G36Z Serial No:
    ssd 23\24\25 soft errors:2 Illegal Request:2

  • HTML form to unicode data-please help

    I am devloping a hindi(indian) module. Basicaly it is having an input form accepting hindi inputs ,but the accepting jsp page displays input in form ¤?र' and not in unicode.I have made charset as UTF-8 for data entry as well as inserting jsp page.
    I am using system.println as output before inserting.
    insert into product_descriptions values (116,1,'¤?र');
    The backend is oracle DB .
    Please help me
    Prashant

    Hi,
    Based on your description, my understanding is that you want to save the form data to a file location outside of SharePoint.
    As a workaround, you can save the filled data to a text file using C# and save the text file to a shared folder.
    I suggest you do as the followings:                                                                                                              
    1. Create empty text files in a shared folder using C# File Class.
    http://msdn.microsoft.com/en-us/library/vstudio/as2f1fez(v=vs.110).aspx                          
    2. Write the Data in the html form to the text file using C# StreamWriter.
    http://msdn.microsoft.com/en-us/library/6ka1wd3w(v=vs.110).aspx
    http://msdn.microsoft.com/en-us/library/8bh11f1k.aspx
    Best regards,
    Zhengyu Guo
    TechNet Community Support
    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 Subscriber Support, contact [email protected]
    Zhengyu Guo
    TechNet Community Support

Maybe you are looking for