AJAX date problem

1 view
Skip to first unread message

rnrstar

unread,
Oct 27, 2010, 3:07:53 PM10/27/10
to RISE
I'm having a problem using the generated AJAX files and how it returns
a date. When I fetch a date and try to display it, all I get is
something like, "1284676952000". When I use the PHP generated code to
do the same thing it works fine.

Any ideas?

HOlsen

unread,
Oct 28, 2010, 4:01:18 AM10/28/10
to RISE
Dates are returned as javascript date objects. Also, you should supply
javascript date objects to functions that expect dates as arguments.
The generated helper class, JSONHelper, contains the functions
DateToString and StringToDate.

Best regards,
RISE to Bloome Software
Reply all
Reply to author
Forward
0 new messages