aspose 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61043
    
  66

"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
 
Consider Paul's rocket mass heater.
 
subject: Problem with date and time?