For example, in the text area I input a date (format: YYYY-MM-DD HH: MM: SS), and I'd like to output between the span tags M-D-YYYY. I'm totally lost here and hoping someone can help me out. Code: hi Guys, I have the following codes: var date1 = new Date(From Date); My problem is 'new Date' function covering the date into mm/dd/yyyy format and I want it in dd/mm/yyyy format.any suggestion please, Hi All, I wonder if you can help me with some time and date formatting in JS.I also have a bit of JS which watches the ckeditor and when a user types into it, whatever they type appears in a div elsewhere on the page.My ckeditor allows the text to be bold, italic, underlined and resized.My guess is that the browser or framework you are using doesn't apply bold and italics styles to those tags.You'll have to do that yourself." I've tested on several browsers, I checked in FF Opera Safari Chrome IE8 & IE9 and its the same in all them.I already use a neat date formatting JS script which is useful when a PERL script returns a date field of 'DATE' by converting it from yyyy-mm-dd to dd month(in text) yyyy: I have, however, run across a little problem where I have results coming through with date AND time, e.g.
I am usimg Java Script / j Query / AJAX to initiate the process on the server, one file at a time, and to display progress information after each step.