<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, </div><div class=""><br class=""></div><div class="">I wrote this a while back. 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. </div><div class=""><br class=""></div><div class="">You could use this with cd_string() to get your desired result. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""></div></body></html>