[Newbies] Parsing dates!

Göran Krampe goran at krampe.se
Thu Apr 19 13:42:34 UTC 2007


Eh... and of course the pattern "ymd" doesn't work for obvious reasons -
using "y", "m" and "d" requires some non-digit separators. Feel free to
improve and add more tests etc! I kinda whipped it up - have to go to a
conference soon.

And I presume of course that this stuff exists in Chronos, Chalten or hey,
perhaps even somewhere in base Squeak that I missed. ;)

regards, Göran

More information about the Beginners mailing list