format

Zend Framework - JQuery - Date Picker - Format Date to YYYY-mm-dd

Hi, Im using a JQuery DatePicker in a Zend Framework based application Form. Here is the code for the date picker $this->addElement('datePicker','movie_release_date', array( 'label' => 'Release Date:', 'required'=> false ) ); By default, when you pick the date, it is stored in the text input li...

XML Deserialization

Hello Guys, I have tried to use the xsd.exe tool to generate a class for the following Oracle-generated xml sample but always fail to get it right when I try to change oracle xml elements names to the class's names, specifically I'm not sure how to do it for the ROWSET and ROW part of it. Being very new to the serialization/deseria...

Ideas for troubleshooting emacs error: "apply: Spawning child process: exec format error"

I'm trying to use rdebug with emacs and cygwin and I'm running into trouble. Whenever I do a M-x rdebug and give it the appropriate script to run, it stops with the error "apply: Spawning child process: exec format error" From some googling, it seems like this could happen if I'm trying to launch a cygwin executable via the windows ...

Python repr function problem

Hi, I'm dealing with some text parsing in Python and for that purpose, it's good for me to apply repr() function on each string I'm gonna parse, but after the parsing, I need to convert some parsed substring back to the previous representation, because I want to print them and I'm not able to do this. I thought that str() function shoul...

How to format drive in FAT 16 format using VB.NET without user interaction

How to format drive in FAT 16 format using VB.NET without user interaction ...

GSP Editing in Netbeans 6.8

Hello guys. I have a problem with Netbeans 6.8 and GSP pages. Format and indent working but provides invalid structure. Moreover Netbeans highlinging page directive as error. And code completion is not working too. Is it a bug or smth need to be fixed in my settings or Netbeans does not provide such features. In this archive you can ...

How to Copy format from remote CVS to local file eclipse ?

Dear All, I am new to eclipse. I checked in java file from remote CVS.then I modify the file then I compare with latest from head. the comparison highlight of the file even parts I didn't change. How to Copy format from remote CVS to local file eclipse ? any ideas ? thanks in advance,,,, ...

How to print the date in iphone?

I am new to iphone development.I am having array of date .I want to print the date in my console.But I didn't want to convert it into a string and print it.I want to print as a date.How can i achieve that.Please help me out thanks. ...

How to store parsed date value as date format in mutable array as mutable dictionary in iphone?

I am new to iphone development .I have parsed a xml page and stored the title, date, summary, in a mutable array "stories" as mutable dictionary "object for key".All the values are saved as string But i want to save the Date value as date format.So that i can sort it with date.How can i achieve that.Please help me out.Thanks ...

convert string to nsdate

hi, it is possible to convert in iphone sdk (obj-c) a string to nsdate. thank you ...

DateTime::createFromFormat in PHP < 5.3.0

I'm looking for a function identical to DateTime::createFromFormat but I need it to work in an environment running a version of PHP which is older than v5.3. Basically I need to provide a format, like you'd use with the Date() function, and I then need to parse/validate a string against that format, and return a timestamp if the string i...

How to apply formatting string when binding DateTime to MaskedTextBox?

I have a MaskedTextBox that has the mask 00/00/\2\000 (restricting input to XX/XX/20XX) and DateTime values with a single digit month or day recently started displaying incorrectly. The MaskedTextBox.Text property is bound to BindingSource.SomeProperty (of type DateTime.) I know that at some level of data-binding the ToString method is...

Manifest vs Properties file format

After some searching on Google and here, I still haven't found any answer to the following: Is there a reason that JAR manifests don't just use the properties format? I am guessing this is historical but it would be nice to know how exactly this came to be was the decision not to use properties format explicitly made or was the proper...

Is it possible to read Fortran formatted data in Python?

I get output files from very old Fortran programs, which look like: 0.81667E+00 -0.12650E+01 -0.69389E-03 0.94381E+00 -0.11985E+01 -0.11502E+00 0.96064E+00 -0.11333E+01 -0.17616E+00 0.10202E+01 -0.12435E+01 -0.93917E-01 0.10026E+01 -0.10904E+01 -0.15108E+00 0.90516E+00 -0.11030E+01 -0.19139E+00 0.98624E+00 -0.11598E+...

how to change the date format from mm/dd/yyyy to dd-mm-yyyy in combobox?

i have a combobox which is displaying date from database...in my database the date enteries are in the format of mm/dd/yyyy but i want to display them in the format of dd-mm-yyyy...in that combobox..when the application run. ...

drupal profile date format

I added some users from an excel via a script to my drupal database. This works fine except for one thing, i use the profile module to store some information, one of them is the date of birth. In my excel the date is stored like '18/02/1995' but in the database a date field has a format like this 'a:3:{s:5:"month";s:1:"2";s:3:"day";s:2:...

Converting to date in PHP from yyyymmdd format

I have dates in the following format (yyyymmdd, 18751104, 19140722)... what's the easiest way to convert it to date().... or is using mktime() and substrings my best option...? ...

There is no source code available for current location - the input string was not in the correct format

Hi In my main window code behind i set the datacontext to an observable collection which is populated with a call to my database. If there are records to be returned everything runs fine. When there are no records i get the error. There is no source code available for current location and then another window opens with the heading Fo...

Format a value that is under 1.00 with {0:C}?

If I have the value 0.0042 returned and I pass this to: string.Format("{0:C}",....); It displays $0 as the results when I want it to actually display: $0.0042 ...

How to give a input date format in iphone

Hi, i am new to iphone development. In my input date format is "2010-03-05T18:20:40Z", and i donno to how to give a input format of my code.So i have mentioned in my code (?). input date format = "2010-03-05T18:20:40Z" Here my code is: NSString *indate = @"2010-03-05T18:20:40Z"; NSDateFormatter *inputFormatter = [[NSDateFormatter allo...