File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Problem with date and time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem with date and time?" Watch "Problem with date and time?" New topic

Problem with date and time?

ramesh vadugu

Joined: Apr 21, 2007
Posts: 6
i have a requirement to combine the date field and time field which are entered by user.

example userdate=10/07/2007 and time=10:03 am

here i have to combine both and apply the getTime() on that combination

is it possible if so let me know please.

Best Regards
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60738

"ramesh", please check your email for an important message from me.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
new Date(year, month, day [, hour, minute, second, millisecond]);

I agree. Here's the link:
subject: Problem with date and time?
Similar Threads
Passing date and time using Timestamp.
How do I prevent duplicate keys on insert?
String to Date Conversion
Date question
how to display date of birth