I am trying to edit a modified date field in an javascript application. The idea is that when the user is done making their edits that the On the 'before-apply-edits' event is called where the application could insert today's date. when i insert the date and refresh the layer the date is changed to 1 day before. am i missing something?
James,
This is normally a timezone issue when dates are entered without a time and thus are given a time of midnight and then once stored and returned the timezone offset is applied and the result is the date being a day off. You should make sure to add your date with a time portion as well.