cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

how can i transform string to time date

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

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

Re: how can i transform string to time date

thank you very much