cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Multiple date formats in one column

Hi,

 

I have imported an excel data table into jmp and in a column that includes date and time, I can see that multiple date and time formats are represented. For that reason, jmp displays this as character. How do I take into account the different formats and still transform this into a date&time format in jmp? According to what I can see, I have two different formats e.g.:

  •  2/19/2024 10:46
  • 08-03-2022 12:50

Any sugestions on how to approach this?

 

Br Julie

1 REPLY 1

Re: Multiple date formats in one column

As long as the data "looks" like a date to JMP, simply changing the column to numeric, continuous and the format to your preferred date format works.  I tried it with your example formats, and the conversion was perfect.  I also did it with a simple script.

 

:Date << Data Type("Numeric")<<Modeling Type("Continuous") << Format( "m/d/y h:m" );

Recommended Articles