On Jun 14, 10:53 pm, billiejoex <[EMAIL PROTECTED]> wrote:
> On 14 Giu, 19:25, samuraisam <[EMAIL PROTECTED]> wrote:
>
>
>
> > FTP LST/LIST/NLST date field formatting function for all those seekers
> > out there...
>
> > import time
> > import datetime
>
> > def ftpdateformat(value):
> > """For
On 14 Giu, 19:25, samuraisam <[EMAIL PROTECTED]> wrote:
> FTP LST/LIST/NLST date field formatting function for all those seekers
> out there...
>
> import time
> import datetime
>
> def ftpdateformat(value):
> """Formats dates from most FTP servers"""
> if ":" in value: # within 6 months
>
Thank.
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
FTP LST/LIST/NLST date field formatting function for all those seekers
out there...
import time
import datetime
def ftpdateformat(value):
"""Formats dates from most FTP servers"""
if ":" in value: # within 6 months
return datetime.datetime(
*time.strptime( # have to gu