<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">There is a function in 6.4.0 named&nbsp;<a href="https://www.ncl.ucar.edu/Document/Functions/User_contributed/cd_inv_string.shtml" class="">cd_inv_string</a>&nbsp; your format should be “%Y-%N-%D %H:%M:%S”&nbsp;<div class=""><br class=""></div><div class="">I attached the version that is in 6.4.0 below. &nbsp;If you put this in your&nbsp;$NCARG_ROOT/lib/ncarg/nclscripts/contrib/ directory you can load it as specified on the documentation page. &nbsp;(or update to version 6.4.0 if you haven’t already.)</div><div class=""><br class=""></div><div class="">Alan<br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div><div class=""></div></div></div></body></html>