Hi Community,
I have data table with column TimeStamp 2023_10_04 02:22:24. Right now i already split the date & time into separate column using this script below:
Names Default To Here( 1 );
dt = Current Data Table();
dt << Text To Columns( delimiter( " " ), columns( :TimeStamp ) ); // in delimiter is SPACE
// Close the original timestamp column
dt << Delete Columns( "TimeStamp" );
dt << Delete Columns( "TimeStamp 1" );
But the format column still in 24 hour
I want format 12 hour like this
The problem is i have to use text to columns in excel if i want format 12 hour.
Can you please write me a script that can change all the row in columns into 12 hour format?