how to get next month string?
Yinghe Chen
yinghe.chen at jeppesen.com
Tue Jul 24 06:32:44 EDT 2007
My bad, for Dec 07, it shall output as JAN08.
"Yinghe Chen" <yinghe.chen at jeppesen.com> wrote in message
news:f84kee$q32$1 at wake.carmen.se...
> 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