[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Date ?



On Tue, May 04, 1999 at 10:55:50AM +0200, Frederic Le Mouel wrote:
> Is-it possible to catch the date ?
> No <date> tag ?

Either use <get-var WML_GEN_ISOTIME>, or if you want your own format,
use ePerl

That's what I use for my 'last edited' tag.

<define-tag edate>
<: @_=localtime; @mth=('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug',
   Sep','Oct','Nov','Dec');print "$_[3].$mth[$_[4]].",$_[5]+1900 :>
</define-tag>

CU & HTH,
    Sec
-- 
We have always been quite clear that Win95 and Win98 are not the systems
to use if you are in a hostile security environment. We recommend Windows NT
for those environments.             -- Paul Leach <paulle@MICROSOFT.COM>
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com