Page 3 of 3

Saving Date into database not working.

Posted: Fri Mar 07, 2014 2:15 am
by frank6683668

Maybe I will just live with it for now


Saving Date into database not working.

Posted: Fri Mar 07, 2014 2:25 am
by teneika

I had the same issue. I am living with it for now as well.


Saving Date into database not working.

Posted: Fri Mar 07, 2014 3:28 am
by Illya Stepanov

Hi- The solution is in the first post of this topic. Please follow it through.

Note:
This is a correct code:
precode
value = value.replace(/\/code/code/gi, "-") + " 00:00:00.000&quot
return value;/code
/pre


Saving Date into database not working.

Posted: Fri Mar 07, 2014 3:42 am
by Milton Davis

I switched it to a string. That will work for now, thanks for the help.


Saving Date into database not working.

Posted: Fri Mar 07, 2014 4:00 am
by frank6683668

how'd u do that


Saving Date into database not working.

Posted: Fri Mar 07, 2014 10:52 am
by Nikita

Hello,

Please add this code to the component mapping datepicker-dateField in DB

code
d = new Date(value);
return d.toISOString().replace("T"," ").replace("Z","");
/code


Saving Date into database not working.

Posted: Sat Mar 08, 2014 5:45 am
by frank6683668

not working, this is for salesforce.com date field.


Saving Date into database not working.

Posted: Sat Mar 08, 2014 2:22 pm
by teneika

No problem Milton


Saving Date into database not working.

Posted: Mon Mar 10, 2014 1:41 am
by Illya Stepanov

Dear Frank,

It should work correctly.

Please share your application with us (tell us the name of app) with steps that we should do for reproduce the problem.

Regards.