Example function to return various date formats. YYYYMMDD
Fri, 2009-02-27 16:51 — dherrin
In this example function you pass to it the format you want YYYYMMDD YYMMDD ISO etc. along with date and time delimiters you wish to use. This does use the NOW statement which is not in older versions.