ktoole
04-09-2010, 02:50 PM
I seem to have a problem passing dates in from ExtJS. I create a date field in ExtJS and it's value has the time attached. The date and time are what gets passed to my RPG and that causes an error. When you use the code below the time is added to the date. Is there some way of preventing this? I want a date to be in one of the formats you specify on your API list.
items:[{
xtype:'datefield',
value: new Date(),
id:'selDateField',
format: "F d, Y",
maxValue: todaysDate,
minValue: oldestDateAllowed
}]
items:[{
xtype:'datefield',
value: new Date(),
id:'selDateField',
format: "F d, Y",
maxValue: todaysDate,
minValue: oldestDateAllowed
}]