Jan 3, 2007 #1 Cam5axis Aerospace Joined Dec 27, 2006 Messages 14 Location US Hi I want the date to reflect in the NC file,if i insert the MOM variable mom_date, it gives day,date,time and year.if i need only format as below,how do i do that.how to extract only date format? (ACM284 01-01-2207 John) Thanks In advance
Hi I want the date to reflect in the NC file,if i insert the MOM variable mom_date, it gives day,date,time and year.if i need only format as below,how do i do that.how to extract only date format? (ACM284 01-01-2207 John) Thanks In advance
Jan 3, 2007 #2 looslib Mechanical Joined Jul 9, 2001 Messages 4,205 Location US Use an extract on the mom_date line. TCL should have a method of extracting a portion of a returned string. "Wildfires are dangerous, hard to control, and economically catastrophic." Ben Loosli Sr IS Technologist L-3 Communications Upvote 0 Downvote
Use an extract on the mom_date line. TCL should have a method of extracting a portion of a returned string. "Wildfires are dangerous, hard to control, and economically catastrophic." Ben Loosli Sr IS Technologist L-3 Communications
Jan 4, 2007 #3 Aikon Mechanical Joined Jan 18, 2004 Messages 38 Location EE Our postprocessor custom command looks like this: set datetime [clock format [clock seconds] -format "%H:%M KUUPAEV %d-%m-%Y"] MOM_output_literal "* - KELL [ string toupper $datetime ]" Output is this: 4 * - KELL 22:00 KUUPAEV 01-01-2007 Henry Upvote 0 Downvote
Our postprocessor custom command looks like this: set datetime [clock format [clock seconds] -format "%H:%M KUUPAEV %d-%m-%Y"] MOM_output_literal "* - KELL [ string toupper $datetime ]" Output is this: 4 * - KELL 22:00 KUUPAEV 01-01-2007 Henry