How to format datetime values

A.M alanalan at newsgroup.nospam
Thu Jun 1 16:07:01 EDT 2006


"BartlebyScrivener" <rpdooling at gmail.com> wrote in message 
news:1149190242.446952.52180 at j55g2000cwa.googlegroups.com...
> Are you trying to get banned, or what?
>
> It's the equivalent of me asking you:
>
> Hey, does Ruby have anything like dictionaries and will you teach me
> about strings?  Oh, and what's an object?
>
> Go read the bleeping tutorial.
>
> rd
>

Well, I did investigate all tutorial and google and I wasn't able to find 
any built-in way for datetime formatting in Python. In fact I cannot find 
any way to format a long integer into 99,999,9999 format. I know how to 
format strings with C printf like formatter, but I am sure what I am trying 
to do can't be done with C printf formatting.



I also found that mx.DateTime perfectly does date formatting and much more, 
but I don't want to add another step to the deployment process.



>> It's the equivalent of me asking you:
>> and will you teach me about strings?  Oh, and what's an object?



The answer to this post could be just a function name. I don't think I asked 
about broad concepts such as the object or strings. What I am asking here is 
just a clue.





More information about the Python-list mailing list