<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Chang,&nbsp;</div><div class=""><br class=""></div><div class="">I wrote this a while back. &nbsp;Uses pretty much the same code that is passed around in examples and on here quite often when these questions about yyyymmdd times comes up. &nbsp;</div><div class=""><br class=""></div><div class="">You could use this with cd_string() to get your desired result.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div></body></html>