by: Florian Lindner |
last post by:
Hello,
I want to know if a certain duration is over.
I try it like this with timedelta objects:
d = datetime.timedelta(minutes = 2)
t = time.gmtime()
print (t + d < time.gmtime())
gives:
|
by: red floyd |
last post by:
Is there a portable way to convert between a struct tm and a time_t, for UTC?
I know that time_t is seconds since the epoch (1970-01-01T00:00:00Z).
Now, you can convert a time_t to a struct tm...
|
by: KW |
last post by:
Hi all,
Appreciate if someone can help me out on this.
Currently, I have a tm structure holding information of the UTC time,
which is very likely to be in the past, meaning not the current...
|
by: Raj |
last post by:
Hi
I'm very new to C and am trying to get the time a month ago in the format
mmyy.
What I have tried so far is:
char *last_mth;
size_t maxsize = 4;
struct tm *timeptr = localtime(time(0));
|
by: red floyd |
last post by:
I have a copy of the C++ standard. Unfortunately, I don't have a copy
of the C89 standard, and the question I have is related to something
incorporated by reference.
Specifically, what does the...
|
by: Yuanfei |
last post by:
Hi There,
I just found that there is a problem in vc2005 regarding to time_t and
localtime. See code snippets belows. Using this code segment, I found that
when ut is 86200, the corresponding...
|
by: OleMacGeezer |
last post by:
Hello Everyone,
I am a brand new Python programmer with barely a month of
experience under my belt.
Here are my specs:
Mac OSX Panther 10.3.9
Jython 2.1 implementation with Hermes BBS...
|
by: maruk2 |
last post by:
I have some old data files with old timestamps, where
timestmap=time(NULL), some of them date back to the
year 1999.
I want to my code to print the timestamps and each one to
include...
|
by: maruk2 |
last post by:
I have some old data files with old timestamps, where
timestmap=time(NULL), some of them date back to the
year 1999.
I want my code to print the timestamps and each one to
include...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
|
by: SueHopson |
last post by:
Hi All,
I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...
|