John Machin sj..con.net wrote:
On Aug 30, 10:41 am, W. eWatson notvalcglobal.net wrote:
What I'm trying to do is adjust date-time stamped file names for date and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according to
John Machin wrote:
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according to the OS clock. It
W. eWatson wrote:
John Machin wrote:
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date
and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according
John Machin wrote:
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according to the OS clock. It
The author has updated the Tutorial and added a flex method.
--
http://mail.python.org/mailman/listinfo/python-list
I just tried the following code, and got an unexpected result.
from pyfdate import *
t = Time()
ts = Time(2008, 8, 29,15,20,7)
tnew = ts.plus(months=6)
print new date: , tnew
Result:
new date: 2009-02-28 15:20:07
I believe that should be April 1, 2009. If I use months = 1 and day =31, I
get
W. eWatson wrote:
I just tried the following code, and got an unexpected result.
from pyfdate import *
t = Time()
ts = Time(2008, 8, 29,15,20,7)
tnew = ts.plus(months=6)
print new date: , tnew
Result:
new date: 2009-02-28 15:20:07
I believe that should be April 1, 2009. If I use months = 1
On Aug 30, 2:32 am, W. eWatson [EMAIL PROTECTED] wrote:
I just tried the following code, and got an unexpected result.
from pyfdate import *
t = Time()
ts = Time(2008, 8, 29,15,20,7)
tnew = ts.plus(months=6)
print new date: , tnew
Result:
new date: 2009-02-28 15:20:07
I believe that
John Machin wrote:
On Aug 30, 2:32 am, W. eWatson [EMAIL PROTECTED] wrote:
I just tried the following code, and got an unexpected result.
from pyfdate import *
t = Time()
ts = Time(2008, 8, 29,15,20,7)
tnew = ts.plus(months=6)
print new date: , tnew
Result:
new date: 2009-02-28 15:20:07
I
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according to the OS clock. It
sometimes happens
On Aug 27, 11:24 am, W. eWatson [EMAIL PROTECTED] wrote:
John Machin wrote:
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
John Machin wrote:
On Aug 27, 11:24 am, W. eWatson [EMAIL PROTECTED] wrote:
John Machin wrote:
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
[EMAIL PROTECTED] wrote:
check out Pyfdate: http://www.ferg.org/pyfdate
from pyfdate import *
t = Time().add(hours=14)
print It is now, t.wdt
datestring1 = 2005/10/05 #year,month,day
datestring2 = 2002/09/22 #year,month,day
datestring3 = 2007/11/11 #year,month,day
year,month,day =
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
ttp://www.ferg.org/pyfdate/download.html page.
How to install pyfdate.
Save pyfdate.py into your
John Machin wrote:
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
ttp://www.ferg.org/pyfdate/download.html page.
How to install pyfdate.
Save pyfdate.py into
On Tue, Aug 26, 2008 at 9:24 PM, W. eWatson [EMAIL PROTECTED] wrote:
John Machin wrote:
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
[EMAIL PROTECTED] wrote:
check out Pyfdate: http://www.ferg.org/pyfdate
from pyfdate import *
t = Time().add(hours=14)
print It is now, t.wdt
datestring1 = 2005/10/05 #year,month,day
datestring2 = 2002/09/22 #year,month,day
datestring3 = 2007/11/11 #year,month,day
year,month,day =
Are there some date and time comparison functions that would compare, say,
Is 10/05/05 later than 09/22/02? (or 02/09/22 format, yy/mm/dd)
Is 02/11/07 the same as 02/11/07?
Is 14:05:18 after 22:02:51? (24 hour day is fine)
How about the date after 02/28/04 is 02/29/04, or the date after
W. eWatson [EMAIL PROTECTED] writes:
Are there some date and time comparison functions that would compare, say,
Is 10/05/05 later than 09/22/02? (or 02/09/22 format, yy/mm/dd)
Is 02/11/07 the same as 02/11/07?
Is 14:05:18 after 22:02:51? (24 hour day is fine)
How about the date after
check out Pyfdate: http://www.ferg.org/pyfdate
from pyfdate import *
t = Time().add(hours=14)
print It is now, t.wdt
datestring1 = 2005/10/05 #year,month,day
datestring2 = 2002/09/22 #year,month,day
datestring3 = 2007/11/11 #year,month,day
year,month,day = numsplit(datestring1) # split into
20 matches
Mail list logo