I'm a beginner in python. Question: Want to create a function which would allow sorting of time posts by month. The posts would be placed in a DIV for each month. Only solution that comes to mind is to store the last date of each post as it loops thru the array. This variable would be passed into a function with the new post date. Is this the way to go, or is there a better way?
Example: 1. Jan 15 2009 2. Jan 31 2009 3. Feb 05 2009 4. March 21 2009 Output <DIV>January post 1 post 2 </DIV> <DIV>February post 3 </DIV> <DIV>March post 4 Thanks, Bill </DIV> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

