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.
%3CLINGO-SUB%20id%3D%22lingo-sub-767886%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMehrere%20Datumsformate%20in%20einer%20Spalte%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-767886%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHallo%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EIch%20habe%20eine%20Excel-Datentabelle%20in%20jmp%20importiert%20und%20sehe%20in%20einer%20Spalte%2C%20die%20Datum%20und%20Uhrzeit%20enth%C3%A4lt%2C%20dass%20mehrere%20Datums-%20und%20Uhrzeitformate%20dargestellt%20sind.%20Aus%20diesem%20Grund%20zeigt%20jmp%20dies%20als%20Zeichen%20an.%20Wie%20ber%C3%BCcksichtige%20ich%20die%20unterschiedlichen%20Formate%20und%20konvertiere%20dies%20dennoch%20in%20ein%20Datums-%20und%20Uhrzeitformat%20in%20jmp%3F%20Soweit%20ich%20sehen%20kann%2C%20habe%20ich%20zwei%20unterschiedliche%20Formate%2C%20z.%20B.%3A%3C%2FP%3E%3CUL%3E%3CLI%3E19.02.2024%2010%3A46%20Uhr%3C%2FLI%3E%3CLI%3E08-03-2022%2012%3A50%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIrgendwelche%20Vorschl%C3%A4ge%2C%20wie%20man%20das%20angehen%20k%C3%B6nnte%3F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EJulie%2C%20Bruder%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-767886%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-767911%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Mehrere%20Datumsformate%20in%20einer%20Spalte%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-767911%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESolange%20die%20Daten%20f%C3%BCr%20JMP%20wie%20ein%20Datum%20%E2%80%9Eaussehen%E2%80%9C%2C%20reicht%20es%20aus%2C%20die%20Spalte%20einfach%20in%20numerisch%2C%20fortlaufend%20und%20das%20Format%20in%20Ihr%20bevorzugtes%20Datumsformat%20zu%20%C3%A4ndern.%20Ich%20habe%20es%20mit%20Ihren%20Beispielformaten%20versucht%20und%20die%20Konvertierung%20war%20perfekt.%20Ich%20habe%20es%20auch%20mit%20einem%20einfachen%20Skript%20gemacht.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3ADate%20%26lt%3B%26lt%3B%20Data%20Type(%22Numeric%22)%26lt%3B%3CMODELING%20type%3D%22%22%3E%3C%2FMODELING%3E%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
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