section 3 of perl cookbook - some simple datetime examples