473,402 Members | 2,055 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,402 software developers and data experts.

Checking for the validity of one month

Hi there,
How can i check the member whether he has completed one month in our organization.Please help me out .

Thanks
May 12 '07 #1
2 853
shweta123
692 Expert 512MB
Hi,

Can you please explain about your question little bit more?
Which platform you are using?

If you are keeping the history of the member in the database ,you can use the
DateDiff function from the Sql to get the required result.

e.g.

If DateDiff (month,DateJoined,todaysdate)=1 then
...........
end if
May 13 '07 #2
Thanks Shweta,

I am working on asp.net 2.0 using sql server 2005.I maintain the member history in which when he has joined etc.So i need to send the popup message as soon as he completes one month.like if he join on 25th may 2007 then the popup should display on 25th june 2007 likewise it should display every month on 25th. The popup consist of payment of fee warning.
Please help me out.

Thanks
Mehmood



Hi,

Can you please explain about your question little bit more?
Which platform you are using?

If you are keeping the history of the member in the database ,you can use the
DateDiff function from the Sql to get the required result.

e.g.

If DateDiff (month,DateJoined,todaysdate)=1 then
...........
end if
May 16 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Sam Martin | last post by:
hi all, I'm looking for your opinions on whether to validate and subsequenly throw exceptions based on the data set() to an object's property or whether you should do it on say a Save() method....
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
1
by: lavu | last post by:
I have a struct that I am creating an object for but not initializing it. Later on under certain conditions it gets set to the values of another struct. However I have to check this struct for an...
16
by: lawrence k | last post by:
I've made it habit to check all returns in my code, and usually, on most projects, I'll have an error function that reports error messages to some central location. I recently worked on a project...
9
by: Andy Dingley | last post by:
Here's a chunk of a longer piece of punditry I'm working on, re: the choices between doctypes for authoring and the State of the Union for validity. I've got a bucketload of nasty code and a bunch...
0
by: rdemyan | last post by:
Is there a way to check the validity of front-end table links on a backend file where all permissions to data have been revoked. To get at the data, the front end uses RWOP queries. What I'm...
9
by: xhe | last post by:
Hi, I need to program to check the validity of IP address through PHP Initially I used this one: $url="http://www.ntc.gov.au/ViewPage.aspx? page=A02400304500100020"; $fp=fopen($url,"r");...
1
by: rashmitha reddy | last post by:
Hi, I have a requirement such that i have user details with startdate and end date for a subscription.So now i wanted to find the no.of days b/w these two dates.And should be feasible to find...
10
by: frakie | last post by:
Hi 'body, is there a method to check if a pointer is pointing a freed memory location?
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.