Powered by GeSHi

Source code for sortdate.kix

(view source code of sortdate.kix as plain text)

  1. ; SortDate.kix,  Version 1.01
  2. ; Displays date in YYYYMMDD
  3. ; Written by Rob van der Woude
  4. ; http://www.robvanderwoude.com
  5.  
  6. $sdate = substr( @date, 1, 4 ) + substr( @date, 6, 2 ) + substr( @date, 9, 2 )
  7. ? $sdate
  8.