Date format in NC file
Date format in NC file
(OP)
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
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





RE: Date format in NC file
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
RE: Date format in NC file
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