Here is my way of handing this
Names Default To Here( 1 );
dt = New Table( "Example",
add rows( 10 ),
New Column( "Julian Date",
set each value(
Num(
Char( Random Integer( 20, 24 ) ) || Char( Random Integer( 100, 365 ) )
)
)
)
);
// Create a column that converts Julian dates to JMP date values
dt << New Column( "Date",
Format( "m/d/y" ),
formula(
Date MDY( 1, 1, Num( Substr( Char( :Julian Date ), 1, 2 ) ) )
+In Days( Num( Substr( Char( :Julian Date ), 3, 3 ) ) )
)
);
Jim