Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Asheej T K
(24)
Abhisek Panda
(17)
Deepika Harida...
(17)
Last 7 Days
Alwyn
(735)
nishithraj
(512)
Manindra Upadh...
(438)
more...
Forums
»
.NET
»
ASP.NET
»
Checking dates in msaccess
Posted Date:
04 Jul 2009
Posted By:
Abbas
Member Level:
Gold
Points
: 1
Responses:
1
HI Friends,
i am creating a web applications with msaccess as a back end. when users post any ads on my site as free his account gets expired on the date one month after the date of register. for that when user gets register i takes current date and add 30 days in it which will be expired date. Now i want to display the expired posts for that i want to compare the current date with expired date field in database.I have used text datatype for the expireddate field because i want to display the customized date (02-June-2009). how to compare the date so that i can display expired ads.
Please reply as soon as possible.
Thanks in Advance
Abbas Electricwala.
Responses
Author:
Madeshwaran
05 Jul 2009
Member Level:
Bronze
Rating:
Points
: 2
Hi try like this
Select * from yourtable where CDATE(yourstringDatecolumn)=#datetoCompare#
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next :
Export data from xl to sqlserver 2000 using vb.net
Previous :
Add control dynamically
Return to Discussion Forum
Post New Message
Category:
ASP.NET
Related Messages
Validation Controls
no of click on advertisement in asp.net application
Please Please help.................. tooo urgent
Please tell me .Net interview Questions for 2+ Years Exp
To upload Documents like(doc,pdf,etc) to file system
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use