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

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels