cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Ronaldo
Level II

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

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

Recommended Articles