get-listener is processed only if the data class contains all parameters? Can not specify only part of the sent in the request?
Copy code
routing {
get<MyResult> { myResult -> ... }
myResult contains only two fields, although the call contains 4 parameters
d
DATTA
09/19/2018, 9:28 AM
Hi All, is anyone know how to change date format from dd/mm/yyyy to mm/dd/yyyy in scheduled script? Thanks in advance.
s
samyt
09/19/2018, 9:31 AM
You can use a native javascript !
n
Nik
09/19/2018, 10:51 AM
var dd = unformattedDate.day;
var mm = unformattedDate.month;
var yyyy = unformattedDate.year;
var setDate = mm + '/' + dd + '/' + yyyy; //Date format for inserting into record
Where unformattedDate is your date in dd/mm/yyyy format or any other format. You can also use split instead of .day, .month & .year