frank6683668
Posts: 0
Joined: Sat Feb 22, 2014 2:36 am

Saving Date into database not working.

for clarification, I have the salesforce.com date format as "mm/dd/yy" and i changed it in appery properties, still no luck

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Saving Date into database not working.

Hello Frank,

If " /\//gi " becomes red - it's ok.

Try to test it and check browser console for errors.

frank6683668
Posts: 0
Joined: Sat Feb 22, 2014 2:36 am

Saving Date into database not working.

I did test it. I have date picker value mapped to request. It is still not working

"Text" works, for example: if I select input component - date, it will map it. But on mobile it is "jan" instead of "1" so I can't use it.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Saving Date into database not working.

Frank,

Please double check you've followed all steps described in the first reply.

If the problem persists please share your application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.

Milton Davis
Posts: 0
Joined: Tue Mar 04, 2014 5:12 am

Saving Date into database not working.

I am having the same problem.

I am using

$("[name='getDate']").find('input').attr('id','inputgetDate');
var d = $("#inputgetDate").val();
return d;

My getDate datepicker is in the format mm/dd/yy.

How do I save to the database?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Saving Date into database not working.

Hello.

Please try next code:

pre
code
value = value.replace(/
code
value = value.replace(/\//gi, "-") + " 00:00:00.000&quot
return value;
#47;/gi, "-") + " 00:00:00.000&quot
return value;
/code
/code/pre

frank6683668
Posts: 0
Joined: Sat Feb 22, 2014 2:36 am

Saving Date into database not working.

No luck

teneika
Posts: 0
Joined: Wed Mar 05, 2014 7:53 pm

Saving Date into database not working.

Hi, I had the same issue and I changed my column to a string instead of a date in the database and it worked.

teneika
Posts: 0
Joined: Wed Mar 05, 2014 7:53 pm

Saving Date into database not working.

If you dont mind the column being a string instead of a date in the database I would change it to a string.

frank6683668
Posts: 0
Joined: Sat Feb 22, 2014 2:36 am

Saving Date into database not working.

Hi. Yes I did that, the main reason I want to avoid this is for reporting purposes in my database.

The issue I run into is with mobile. Example: "2" = "feb"

Return to “Issues”