[SOLVED] Error passing DateTime value in WCF(SOAP). [PATCH]
Posted: Sun Jan 03, 2016 3:46 pm
In the attached example, passing DateTime value fails in beta 6.1
“Uncaught TypeError: this.ymdToTicks is not a function” occurs in JSIL.XML.js line 735.
“Uncaught TypeError: this.ymdToTicks is not a function” occurs in JSIL.XML.js line 735.
Code: Select all
if (tickOrMillisecond > 1000) {
var ticks = this['ymdToTicks'](year, month, day);
ticks = int64Type()['op_Addition'](ticks, this['hmsToTicks'](hour, minute, second));
ticks = int64Type()['op_Addition'](ticks, int64Type()['FromNumber'](tickOrMillisecond));
DateTimeCtorSign1().Call(dateTimeType().prototype, "_ctor", null, dt, ticks, kind);
}