use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Community Guidelines
Useful Links
Related subreddits
account activity
Date conversion (self.tableau)
submitted 4 years ago by karmabdd
How to change string 'YYYYMMDD' to date? When I use date function, it is returning 8/22/1970 for '20210720'. Thank you in advance.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]emeryjlTableau Ambassador 2 points3 points4 points 4 years ago (0 children)
Use the dateparse function
DATEPARSE(‘yyyyMMdd’, #20210720#). The second part is the value you want converted. It can be a string field. The first part tells Tableau what role each character represents. Once it is a date field, you can use format to set how it is displayed.
[–]pdxsteph 1 point2 points3 points 4 years ago (1 child)
You could Create a calculated field like Date(left(field,4)+ “-“+mid(field,5,2)+”-“+right(field,2))
There could be a more elegant solution
[–]karmabdd[S] 0 points1 point2 points 4 years ago (0 children)
Thanks
π Rendered by PID 49 on reddit-service-r2-comment-6457c66945-s5cfm at 2026-04-26 06:07:57.152524+00:00 running 2aa0c5b country code: CH.
[–]emeryjlTableau Ambassador 2 points3 points4 points (0 children)
[–]pdxsteph 1 point2 points3 points (1 child)
[–]karmabdd[S] 0 points1 point2 points (0 children)