cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

how can i transform string to time date

Ronaldo
Level II
data is 202307031201
data type is string..

How do I change from a string to a time type?
2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User


Re: how can i transform string to time date

You can interactively change the character column to a datetime value by going into the Column Information dialog and changing the data type to numeric, the modeling type to continuous, and then set the Format to d/m/y h:m:s, and then use a Format Pattern for the Input Format where you specify the input components

txnelson_0-1688614029689.png

 

Jim

View solution in original post

Ronaldo
Level II


Re: how can i transform string to time date

thank you very much

View solution in original post

2 REPLIES 2
txnelson
Super User


Re: how can i transform string to time date

You can interactively change the character column to a datetime value by going into the Column Information dialog and changing the data type to numeric, the modeling type to continuous, and then set the Format to d/m/y h:m:s, and then use a Format Pattern for the Input Format where you specify the input components

txnelson_0-1688614029689.png

 

Jim
Ronaldo
Level II


Re: how can i transform string to time date

thank you very much