File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Problem with date and time?

ramesh vadugu
Greenhorn

Joined: Apr 21, 2007
Posts: 6
Hi,
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
ramesh
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60738
    
  65

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


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

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

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
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