Results 1 to 4 of 4

Thread: Date formatting

  1. #1
    Expert Member
    Join Date
    Sep 2005
    Answers
    206

    Date formatting

    I am looking for sample code that recognizes date of any format even formats like "Jan-1-2007" , "01-February-2007" , mm/dd/yy , dd/mm/yy, etc and display it as mm/dd/yy in C language...

    Thanks,
    Suji


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    249

    Re: Date formatting

    Hey Suji,

    First two format is easy to code... but other two format logically its very difficult unless the program know what format the user is giving the date....

    For example : mm/dd/yy - 07/07/07

    This is difficult for the program to under the format by only seeing the numerals... This is what i faced when i coded...

    Thanks
    Manoj


  3. #3

    Re: Date formatting

    ManojKs is right


  4. #4
    Expert Member
    Join Date
    Jan 2007
    Answers
    249

    Re: Date formatting

    Hi Atul

    Just call me Manoj


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact