3.2.0

Date Format

Does the date in the javascript array need to be in the format 'mm-dd-yyyy'?

My dates are coming from the database in 'yyyy-mm-dd' format.
When I try to use the cell format methods to make it 'mm-dd-yyyy', I run into problems.

I've read through the forum and can not find anything directly addressing this. I have the feeling I'm doing something very basic wrong...
Joel
September 22,
Never mind. I think I found it on an old forum.

have to include:

var date = new Active.Formats.Date;
date.setDataFormat("ISO8601");

This was not easy to find and cost a lot of time. Did I miss this somewhere? Is this correct?
Joel
September 22,
http://www.activewidgets.com/javascript.forum.10412.4/using-data-formats-with-js.html
Mike
September 22,
Mike,

That thread does not answer my question. It assumes the data to be coming in as 'mm-dd-yyyy' which appears to be the default.
Joel
September 22,

This topic is archived.

See also:


Back to support forum