For the next person that needs this, what ended up working for me and 
fixing the issue was to assign it like this:

   { "field": 
    { "fieldName": "timestamp", 
      "expression": "timestamp.date(timestamp, 'yyyyMMddHHmmssz')"
    }
   },



On Friday, April 15, 2016 at 4:36:51 PM UTC-4, Joel Spriggs wrote:
>
> I have a file with datetime field encoded as 20141120012052UTC and I'd 
> like to transform this to a native datetime.  What would be my best 
> recourse to do that in the oetl process?
>
> I had tried doing this:
>
>    { "field": 
>     { "fieldName": "timestamp", 
>       "expression": "date($timestamp_original, 'yyyyMMddHHmmssz')"
>     } 
>    },
>
> but it didn't work.  I couldn't find any good example of how to do this, 
> and hoping I hit some better luck here.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to