When I create a "date" column in the script below it creates a locked (so I can not change the format) column. Short Date() in the formula looks to be the issue.
The time column stays as numeric after the formula is applied.
How do I get the "Date" to stay numeric?
The date is later in a calender() to set the calender to show only days there is data present.
_____________________________________________________
//Open
dt_run = Open( "data.jmp");
dt_run << New Column( "Date", Numeric, Continuous, Format("m/d/y"), Input Format( "m/d/y h:m:s"));
Column( "Date") << Add Column Properties( Formula( Short Date( :Name( "Date & Time" ) ) ) );
dt_run << New Column( "Time", Numeric, Continuous, Format("h:m"), Input Format( "m/d/y h:m:s"));
Column( "Time") << Add Column Properties( Formula( Time Of Day( :Name( "Date & Time" ) ) ) );Thanks
Matt