I want to ask the user to enter a date and time that he want. I don't know how to do that??
I just know how to set any value I want of a date or time, but you know I can't do the same when asking the user to enter.
how can I ask the user to enter any value he wants? please give me a coding example I don't understand java well.
I'm a newbie the only thing I know about time and date is this:
public static void main(String s)
Date d=new Date();
Calendar c=new GregorianCalendar(1985,9,15);
Time t=new Time(12,50,0);