how to get next month string?

Yinghe Chen yinghe.chen at jeppesen.com
Tue Jul 24 06:31:42 EDT 2007


Hi,
Could someone help on how to use python to output the next month string like 
this?

"AUG07", suppose now is July 2007.

I think also need to consider Dec 07 case, it is supposed to output as 
below:
"JAN07".

datetime module seems not supporting the arithmatic operations, any hints?

Thanks in advance,

Yinghe Chen 





More information about the Python-list mailing list