Hi,
I'm connecting to an Oracle DB, and I want to create a field that pulls just the year out of a datetime field.
So, I'd want 2017-01-02 to result in a value of 2017, which needs to be in integer format.
Thanks for your help!
@estherb47,
ok... how about:
EXTRACT(year FROM order_date)
i can webex with you now....
https://meetings.webex.com/collabs/meetings/join?uuid=M37I5AUGTGAAM8FCLXJK1FFVRX-UCSL&epwd=7e667c8e0a5a18004a555b
Cheers,
Mark
hi @estherb47,
Have you tried:
ToNumber(DateTimeFormat([DateTime_Field],"%Y"))
That just might work.