[code.view]

[top] / python / PyMOTW / datetime / datetime_date_minmax.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2008 Doug Hellmann All rights reserved.
     #
     """Minimum and maximum values for dates.
     """
     
     __version__ = "$Id$"
     #end_pymotw_header
     
     import datetime
     
     print 'Earliest  :', datetime.date.min
     print 'Latest    :', datetime.date.max
     print 'Resolution:', datetime.date.resolution

[top] / python / PyMOTW / datetime / datetime_date_minmax.py

contact | logmethods.com