cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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