Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
Another date question
Dave Foley
Greenhorn
Posts: 9
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Does anyone know how to set a datetime field to 300 seconds in advance of the current time?
Brian Nice
Ranch Hand
Posts: 195
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Calendar cal = Calendar.getInstance(); cal.add(Calendar.SECOND, 300); Date dt = cal.getTime();
There you go
Brian
Dave Foley
Greenhorn
Posts: 9
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for the help.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to change the date,Time format after accessing it from the database
Date format problem
MySQL - Date/Time and Timestamp Issues
Hibernate: MySql DATETIME to java.util.Date
date fomatting question from long
More...