We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Designer-SQL Editor- Convert Datetime to Date

balachandra2164
6 - Meteoroid

Hi  Team,

I am trying to convert datetime format to date

input: YYYY-MM-DD HH:MM:SS (datetime)  

balachandra2164_1-1649067892139.png

 

output expected: YYYY-MM-DD

Input:

balachandra2164_0-1649067838186.png

 

I have tried convert and cast as well but couldn't able to retrieve info as '2015-01-01'. Please advice

 

Note: I am using Oracle database as input

 

1 REPLY 1
JarekSkudrzyk
11 - Bolide

@balachandra2164 hi, please try using Date format (not DateTime) - it should give output without hours/minutes/seconds

Labels
Top Solution Authors