This should get you what you want:
$str = $datetime->strftime("%l:%M %p"); # 4:36 PM-----Original Message----- From: Mark Hedges [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 29, 2006 8:08 PM To: [email protected] Subject: printing with AM/PM Do I have to define a DateTime::Format object to do nice stringification with AM/PM times (not 24-hour time)? Or is there some easier method to do this that I'm missing? Mark
