Last change
on this file since 3665 was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
File size:
392 bytes
|
Line | |
---|
1 | ## Script (Python) "getBeginAndEndTimes" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters=day, month, year |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | |
---|
11 | day=int(day) |
---|
12 | month=int(month) |
---|
13 | year=int(year) |
---|
14 | |
---|
15 | begin=DateTime('%d-%02d-%02d 00:00:00' % (year, month, day)) |
---|
16 | end=DateTime('%d-%02d-%02d 23:59:59' % (year, month, day)) |
---|
17 | |
---|
18 | return (begin, end) |
---|
Note: See
TracBrowser
for help on using the repository browser.