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

Manipulation Date

Bonjour à tous, j’ai une colonne « Date » dans ma base de données, j’ai déjà modifié le format que je souhaite. Juste un problème, lorsque j’effectue différentes opérations c’est comme si l’affichage du format de date est correcte visuellement (celui que j’ai modifié), mais l’ancien format de date reste actif et empêche les différentes manipulations.
 
Plus précisément, je souhaite calculer des moyennes en fonction des mois de l’année, donc mon nouveau format de date est « YYYY/MM » (Exemple : 2021/02). Alors que quand je réalise la moyenne par mois, l’opération ne fonctionne pas car je soupçonne le format de Date de rester comme l’ancien (Exemple : 2021020110, « YYYYMMddh24 »).
 
Est-ce normal ? Et si jamais, comment éviter ce problème ?
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Manipulation Date

The JMP Date/Time columns are numeric columns that have a value based upon the number of seconds since January 1, 1904.  The format applied to the column, only changes how to display the the date.  It does not change the value of the column.  The JMP platforms, will continue to process based upon the number of seconds since January 1, 1904.

What I suggest is that you create 2 new columns, Month and Year, which contains the Month() and Year() of your date column, and then use those columns to group your data for your analyses.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Manipulation Date

The JMP Date/Time columns are numeric columns that have a value based upon the number of seconds since January 1, 1904.  The format applied to the column, only changes how to display the the date.  It does not change the value of the column.  The JMP platforms, will continue to process based upon the number of seconds since January 1, 1904.

What I suggest is that you create 2 new columns, Month and Year, which contains the Month() and Year() of your date column, and then use those columns to group your data for your analyses.

Jim