Is it correct that
        {(ftime "%Y" "-")}
should produce
        2007

I'm actually looking for a way to extract the year from a page text variable that could look like this:

        :Deceased: 2003-12-01 Stockholm

where the person died in 2003. Or like this

        :Deceased: -

where the person is still alive, or possibly like this

        :Deceased: ?

where it's unknown when the person died.

Ideas?

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to