Using in-line Javascript, a field in one of my models is returning a “Date” type field from Salesforce using getField on the model. When I display the field using an Alert, Javascript tells me its an object Object. On the Skuid page, the field is rendered at a datepicker. I want to use the date field in a calculation against the current date using javascript in order to perform some actions. I don’t want to display the date in the Skuid page. Problem is, how do I get the date out of the date object using Javascript? I’ve tried many ways, including skuid.time.parseSFDate and nothing is working.
Question
Javascript and Date type from Salesforce
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
