This project has moved and is read-only. For the latest updates, please go here.

UpdateListitems - DateTime field

Nov 30, 2014 at 6:03 AM

I Want create new item with current date but time set to 7PM.
When i use this method:
["Exit", currentDateISO + "19:00:00Z"]],
or this:
["Exit", currentDateISO + "19:00:00"]],
it sets the date to 12AM.

How can force it to update to 7PM?
Nov 30, 2014 at 5:49 PM
You probably need to include the "T" between the date/time, as in the ISO spec:

So, something like this: 2014-11-30T19:00:00+00:00 or 2014-11-30T19:00:00Z

Marked as answer by spnelya on 12/3/2014 at 7:22 AM
Dec 3, 2014 at 3:22 PM
Thank you! it works :)