473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Compare two timestamps from MS access DB

Hi,

I have a MS access DB with some users signed in at different dates.

I want to check the DB daily to compare everyone’s timestamp against current
date to find who’s in our DB for more than two weeks. How could I do this?

Can I run a thread every day (let’s say 8pm) in C# to read everyone’s time
and compare it against current time (how to do?)?

Or write a script run against ms access manually or automatically?

Any suggestions?

Thanks. -Dale

Nov 17 '05 #1
2 2580
let's make this more clear.

Can we convert timestamp to an int for further calculation?

Thanks. -Dale

"dale zhang" wrote:
Hi,

I have a MS access DB with some users signed in at different dates.

I want to check the DB daily to compare everyone’s timestamp against current
date to find who’s in our DB for more than two weeks. How could I do this?

Can I run a thread every day (let’s say 8pm) in C# to read everyone’s time
and compare it against current time (how to do?)?

Or write a script run against ms access manually or automatically?

Any suggestions?

Thanks. -Dale

Nov 17 '05 #2
timespan will allow me to complete this. thank you for everyone who spent
time on this. -dale

"dale zhang" wrote:
let's make this more clear.

Can we convert timestamp to an int for further calculation?

Thanks. -Dale

"dale zhang" wrote:
Hi,

I have a MS access DB with some users signed in at different dates.

I want to check the DB daily to compare everyone’s timestamp against current
date to find who’s in our DB for more than two weeks. How could I do this?

Can I run a thread every day (let’s say 8pm) in C# to read everyone’s time
and compare it against current time (how to do?)?

Or write a script run against ms access manually or automatically?

Any suggestions?

Thanks. -Dale

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: lkrubner | last post by:
This might be an idiot question, but how do you group by timestamps by date? I mean, given a large number of timestamps, spanning many months, how do grab them and say how many are from each day?...
3
by: gwaddell | last post by:
I have an Access XP ADE application connected to a SQL Server 7.0 SP4 database. I have created a timestamp column in the main table. Unfortunately, I am now getting persistent write conflict...
5
by: Robert Schuldenfrei | last post by:
Dear NG, I have not heard from anyone about a good book that deals with the concurrency issue in SQL Server using C#. I have PROMISED Nick I would not use record locking and I have used an old...
4
by: Craig G | last post by:
im not too sure how i should be storing the SQL2000 timestamps basically i return a dataset which is used to populate an editable grid. this dataset contains the timestamp. how should i be...
3
by: JReneau35 | last post by:
What I am trying to do is create a stored procedure that compares a the current datetime to a datetime field already added to a table. I also want it to compare the two and if the old data that is...
3
by: johnhelen | last post by:
Hello I have string of time like this 2007/09/19 18:55:14 Also i have a timestamp field in a postgres database with timezone like this 2004-10-19 10:23:54+02
6
by: xkenneth | last post by:
Looking to do something similair. I'm working with alot of timestamps and if they're within a couple seconds I need them to be indexed and removed from a list. Is there any possible way to index...
0
by: BluFalco | last post by:
Hey all, Im looking for some advise from developpers that have experience with eDir. Basically, I want to know how can i test replicas for synchronization? Is it enough to compare the...
2
by: Kerryn | last post by:
Hi all new to this site so looking for some help. I am working in Access 2002, using a select query. I am trying to use a date range parameter to allow the users to end the start date and end...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.