Search

datetime datatype

Subscribe to datetime datatype 2 post(s)

 
luongj

I am trying to build an importer tool in ColdFusion to convert from a PM system called 5PM (a feat likely never to be repeated). I’ve got the bulk of what I wanted to do put together, but during the course of trying to bring over comments (related to tickets), I haven’t been able to figure out what the date format is.

Based on the data model for comment (http://unfuddle.com/docs/api/data_models#comment), I am trying to fulfill the requirement for:

I’ve tried two different formats:

2002-05-30T09:00:00 (based on http://www.w3schools.com/Schema/schema_dtypes_date.asp)
2002-05-30T05:13:50Z (based on the result of a GET against my comments)

Neither seems to show up correctly in the system and instead the date associated with the comment is the time at which the request took place.

Anybody have any leads?

 
David C.

luongj,

The “created-at” field is read-only. This means that even if you include a value in the request, that value will be ignored and the actual time of the request will be used as you have experienced.