Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2009, 01:06 AM
Registered User
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Want jsp code to compare start date and end date

HI All,
I want jsp code to compare startdate and end date and when end date is reached,mail to be sent to the user that end date is reached. The user date is colleted and stored in database and when end date is reached mail is to be sent to the user.
please help me in this quickly

Thanks
 
Old July 14th, 2009, 03:03 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think, you can use Calendar.compareTo() or Date.compareTo() to compare dates
__________________
- Rakesh
http://iam-rakesh.blogspot.com
 
Old July 20th, 2009, 03:10 AM
Registered User
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can you please provide the code

Hey thanks for reply,
Can you please provide the code for comparing the dates.Thanks in advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Images from Start Date thru Date istcomnet Classic ASP Basics 2 May 23rd, 2008 07:12 AM
Fill in table based on start and end date drm237 Access 3 April 24th, 2007 07:55 AM
compare these date fields and compare and get the susanring Oracle 1 July 24th, 2006 04:58 PM
start date and an end date Corey Access 1 January 16th, 2006 12:37 AM
Compare only the date portion of a datetime field CricketMaster Access 6 April 27th, 2005 01:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.