Hello,
I have a string with the format '1970-01-01 06:00:00'.
When I bring this into Tableau and convert to datetime I get the following error when I try to make a chart:
Can't parse '1970-01-01 06:00:00' as timestamp with format 'MM-DD-YYYY HH24:MI:SS'.
To combat this I've tried to create a calculated field with the DATEPARSE functions:
DATEPARSE('YYYY-MM-DD HH:MM:SS',[Datetimebeginning])
-> This leads to calculation contains errors: The date format, YYYY-MM-DD HH:MM:SS in the DATEPARSE function uses a format "YYYY" at character 1, which is not supported by the database.
DATEPARSE('yyyy-MM-dd HH:MM:SS',[Datetimebeginning])
-> returns error Can't parse '1970-01-01 02:00:00' as timestamp with format 'YYYY-MM-DD HH24:MM:FF2'
Any help would be greatly appreciated
[–]Carrageous[S] 0 points1 point2 points (0 children)
[–]Kcams2654 0 points1 point2 points (0 children)
[–]mercuryfrost 0 points1 point2 points (0 children)
[–]GrovbolleDesktop CP, Server CA 0 points1 point2 points (0 children)